-
Notifications
You must be signed in to change notification settings - Fork 9.6k
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
AWS OpsWorks ssh_key in app_source keeps re-applying #6648
Comments
Closed by #6649 |
Sad but the pull request wasn't complete. There's no support for "WriteOnly" attributes for aws_opsworks_application. It's only supported in aws_opsworks_layers. To get that bug actually fixed we'll need to add "WriteOnly" support to the main schema or there should be a separate struct, e.g. opsworksApplicationAttribute for "app_source" just like it's done for aws_opsworks_layers's opsworksLayerTypeAttribute. |
Ping. Could you please open the issue? I'm using terraform 0.6.16 and got the same issue. |
@wookieb There are a few of these immutable resources. As a stop gap, I've avoided these issues by simply using the lifecycle ignore_changes feature, like this:
|
The lifecycle ignore_changes workaround @u2mejc proposed doesn't work for us. Whenever another attribute of the resource ( If interested, I have a very minimal |
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. |
Hi there,
It looks like there's the same issue as #3635 existing in aws_opsworks_application -> app_source -> ssh_key.
Config:
On terraform plan/apply it keeps re-applying the ssh_key even though it's the same.
Also if it's filtered it shouldn't be displayed:
Terraform Version
v0.6.15
Affected Resource(s)
The text was updated successfully, but these errors were encountered: