-
-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Bucket versioning for logging bucket disabled #3841
Comments
Here are some logs for the terragrunt init: "test-tf-state" shows "Enabling versioning", but "test-tf-logs" does not.
|
If you look at the last two debug lines, it appears that terragrunt is verifying versioning on the wrong bucket ("test-tf-state" rather than "test-tf-logs"). Perhaps that is where the bug is? |
Definitely worth addressing. We'll look to address it during our next tech debt cycle if the community doesn't address it first. @kenroydhs , it seems like you've already done some root cause analysis. Are you interested in contributing a fix? If you're not comfortable with Golang, we're happy to get you ramped up for contribution. We're always looking for more help. |
Sure, I'd be more than happy to look at the code and provide a fix. |
Describe the bug
The remote_state->config bucket specified by "bucket" creates bucket with versioning enabled by default, but the bucket specified by "accesslogging_bucket_name" creates bucket with versioning disabled by default.
Steps To Reproduce
Execute terragrunt init using HCL provided.
The text was updated successfully, but these errors were encountered: