-
Notifications
You must be signed in to change notification settings - Fork 9.3k
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
Changing aws_ssm_parameter.overwrite trigger a resource update #3181
Comments
Temporary workaround:
|
Is this still an issue on v1.11.0 of the AWS provider? Thanks! |
It looks like this functionality made it in via #1520, which was previously released in version 1.11.0 of the AWS provider and has been available in all releases since. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading. |
@bflad This is a bug report on the added functionality, it's more recent than the PR. |
The PR in question was merged in March and this issue is from January. I'll reopen it though. |
Currently we're affected by the overwrite edge-case issue. We had initially created SSM value with Terraform, then we have been rewriting the same SSM key with another automation script. In this case subsequent Terraform provisioning leads to the error below
Lifecycle rule hasn't helped us much
|
Is there an update on this? I am running into the same issue. I am trying to move control of SSM parameters to Terriform, but have them updated through another process. This does not seem possible currently because Terraform always complains |
We'd like to switch to |
Marking this issue as stale due to inactivity. This helps our maintainers find and focus on the active issues. If this issue receives no comments in the next 30 days it will automatically be closed. Maintainers can also remove the stale label. If this issue was automatically closed and you feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. Thank you! |
This issue hasn't been resolved |
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. |
Terraform Version
Terraform v0.10.6
Affected Resource(s)
Expected Behavior
Changing the
overwrite
parameter fromtrue
tofalse
or vice versa should not trigger an updateActual Behavior
Changing
overwrite
fromtrue
tofalse
trigger an update which then fails because the value can not be updated withoverwrite
set tofalse
Steps to Reproduce
Please list the steps required to reproduce the issue, for example:
aws_ssm_parameter
withoverwrite
set totrue
terraform apply
overwrite
set tofalse
terraform apply
againReferences
Are there any other GitHub issues (open or closed) or Pull Requests that should be linked here? For example:
The text was updated successfully, but these errors were encountered: