-
-
Notifications
You must be signed in to change notification settings - Fork 839
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
Disable retention option #24
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@jamengual please see comments
…orm-aws-s3-bucket into disable_retation_option
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@jamengual please see comments
Co-authored-by: Andriy Knysh <[email protected]>
Co-authored-by: Andriy Knysh <[email protected]>
I committed your suggestions |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@jamengual
I think you wanted to be able to enable two types of transitions (standard and glacier) at the same time, as shown in https://www.terraform.io/docs/providers/aws/r/s3_bucket.html#using-object-lifecycle
For this, you need to add two dynamic "transition"
blocks, each with its own enable
flag, and each using the hardcoded storage_class
(STANDARD_IA or GLACIER) and each using its own days
variable (glacier_transition_days
and standard_transition_days
.
In this case, the module will support both (optional) transitions (not only one of those at a time)
Please update.
Thanks
I added the double dynamic, I was simplifying too much |
/codefresh run test |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thanks @jamengual
Allow to disabling any retantion option