Skip to content
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

incompatible changes when defining a policy #13

Closed
mariux opened this issue Nov 27, 2019 · 3 comments
Closed

incompatible changes when defining a policy #13

mariux opened this issue Nov 27, 2019 · 3 comments

Comments

@mariux
Copy link

mariux commented Nov 27, 2019

just a small heads up:

When releasing newer minor versions the last days, you added incompatible changes:

in 1.0.0 we had defined policy = .... which created a bucket policy ... when using the latest the bucket policy is not created anymore even if set and you have to define the policy and add an attach_policy = true attribute.

maybe a good idea to assume you want to attach a policy if you define a policy (not null or "")?

thanks a lot.

@antonbabenko
Copy link
Member

Marius,

My bad that this was not introduced in the first release of this module.

Unfortunately, this was not possible to do as you suggest because of a limitation in Terraform which says value of 'count' cannot be computed. There are several related issues in Terraform core, for eg, hashicorp/terraform#13980 .

Before this is 100% fixed in Terraform, we can't do anything better than requiring users to set attach_policy = true together with the policy.

Closing this issue.

Thank you!

@mariux
Copy link
Author

mariux commented Dec 23, 2019

still an incompatible change that crashes when relying on semantic versioning.. which can be fixed by increasing version number as this reflects a breaking change.

@github-actions
Copy link

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Oct 29, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants