-
Notifications
You must be signed in to change notification settings - Fork 74
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
Multiple ILM rules update each other #585
Comments
Hey @ilyakitaev I hit the same issue and lost all my already created rules 😰 so it would be great to fix the library to reflect this . Nevertheless, I managed to make it work. The code expects one object with multiple
|
@ilyakitaev I think using a uniq policy as described by @inakimalerba is good for the moment. We could merge policy with existing one but this would be a bad case with manual lifecycle policy that wont be destroyed by Terraform when you need Terraform to be your source of truth
Maybe the improvement would be a better plan with deleted policy before applying |
Hey @SoulKyu , thanks for the reply. Wanted to explain better my issue. My bucket had manually created policies, and when I tried to add a new one using terraform I was not expecting all the other policies to be replaced by the single one I was adding. It's mostly my fault but maybe that should be warned on the documentation. Thanks :) |
@inakimalerba |
Excpected creating two rules for bucket, but
cause they have same ID
The text was updated successfully, but these errors were encountered: