-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
file_name_prefix required in lifecycle_rules #3
Comments
Hi @WebSpider! Thank you for reporting this. It is documented in the API description:
Probably because of the potentially destructive operation of "empty" $ b2 create-bucket --lifecycleRules='[{"daysFromHidingToDeleting": 1, "daysFromUploadingToHiding": 7}]' my-name allPublic
ERROR: required field fileNamePrefix is missing (bad_request) The provider documentation only mentions that the parameter is required: Best regards, |
Will we fix it in b2-sdk-python with a client-side exception? |
|
Hi!
It turns out file_name_prefix is currently required when you want to set a lifecycle_rule, however:
How to replicate:
Try and apply it .. the error returns:
Used terraform version: 0.13.5
The text was updated successfully, but these errors were encountered: