-
Notifications
You must be signed in to change notification settings - Fork 9.2k
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
ignore_changes for specific nested arguments #3819
Comments
Hi @danhart can you try using the TypeSet hash number in your
Maybe |
@bflad a combination of ignore_changes = ["origin.XXXXXX.origin_path", "origin.YYYYYY.origin_path"] does indeed work. However, this isn't really ideal. Thanks for a solution though. |
I am trying to ignore_change on emr_managed_master_security_group attribute of aws_emr_cluster.
. My plan shows following:
But this does not work .. what am I missing ? |
Thank you for using Terraform and for opening up this question, @danhart! Issues on GitHub are intended to be related to bugs or feature requests with the provider codebase. It appears a working solution has been provided, so this issue will now be closed. If needed, please use https://discuss.hashicorp.com/c/terraform-providers for additional feedback, community discussions, and questions around Terraform. If you believe that your issue was closed in error, please create a new issue using one of the following provided templates: bug report or feature request. Please make sure to provide us with the appropriate information so we can best determine how to assist with the given issue. |
I second @suneeta-mall - I'm seeing the same behaviour here. It actually seems like a regression... |
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 feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. Thanks! |
This issue was originally opened by @danhart as hashicorp/terraform#17608. It was migrated here as a result of the provider split. The original body of the issue is below.
I have a cloudfront distribution configuration like so:
I'm trying to just ignore changes to the first/only origin's
origin_path
. Howeverignore_changes = ["origin.0.origin_path"]
does not work, and terraform still retains control of this argument. I am successfully able to setignore_changes = ["origin"]
, however this ignores the whole of theorigin
argument and all nested arguments.Is there a way I can just ignore specifically
origin_path
? I've looked at these issues:But haven't been able to find a solution that works.
I am running terraform_0.11.3_linux_amd64.
The text was updated successfully, but these errors were encountered: