Skip to content
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

quiet "redundant ignore_changes" warning #2115

Conversation

dradetsky
Copy link

@dradetsky dradetsky commented Jun 19, 2022

Motivation and Context

Terraform emits the warning

╷
│ Warning: Redundant ignore_changes element
│
│   on .terraform/modules/k8s.eks/main.tf line 305, in resource "aws_eks_addon" "this":
│  305: resource "aws_eks_addon" "this" {
│
│ Adding an attribute name to ignore_changes tells Terraform to ignore future changes to the
│ argument in configuration after the object has been created, retaining the value originally
│ configured.
│
│ The attribute modified_at is decided by the provider alone and therefore there can be no
│ configured value to compare with. Including this attribute in ignore_changes has no effect.
│ Remove the attribute from ignore_changes to quiet this warning.

Which I would like to go away. I trust it is correct that this is in fact determined by the provider.

How Has This Been Tested?

- [ ] I have updated at least one of the examples/* to demonstrate and validate my change(s) N/A

  • I have tested and validated these changes using one or more of the provided examples/* projects
  • I have executed pre-commit run -a on my pull request

@bryantbiggs
Copy link
Member

Duplicate of #2114

@dradetsky dradetsky deleted the quiet-redundant-ignore-changes-warning branch June 19, 2022 00:17
@github-actions
Copy link

github-actions bot commented Nov 8, 2022

I'm going to lock this pull request 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 related to this change, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Nov 8, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants