-
Notifications
You must be signed in to change notification settings - Fork 55
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
What is the intended deployment pattern for changing requirements and plugins? #22
Comments
@easontm The reason for ignoring these attributes is to handle updates to the plugins and requirements separately from Terraform. By ignoring these attributes, Terraform won't automatically update the |
I'd like to manually specify the object version and use terraform to manage what version MWAA uses. If I understand correctly, this block makes this usecase impossible. |
I use terraform to upload new requirements file and want to specify the version on Currently I need to go to the console and do this operation manually |
FWIW the current implementation works perfectly for my use case which is:
In github actions, my workflow is:
I was worried this wouldn't work since I'm providing the s3 object version after terraform and the tooltip for
However, it worked perfectly. |
hi @vara-bonthu we are not keeping the older versions of requirements file in s3 bucket, which causes terraform apply fail, due to cannot find the deleted object version. Can we undo ignore_changes block to avoid this scenario? Or instead of hardcoding, making dynamic to avoid it? I am happy to submit PR, if helps. |
I see that the lifecycle settings ignore changes to both the requirements and plugins objects
Is there some kind of bad/unintended behavior if these changes are not ignored? Or is this an intentional decision to encourage these these updates via the console only?
The text was updated successfully, but these errors were encountered: