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

Terraform detects change even when there is no change #363

Open
sameer2907 opened this issue Dec 20, 2023 · 1 comment
Open

Terraform detects change even when there is no change #363

sameer2907 opened this issue Dec 20, 2023 · 1 comment

Comments

@sameer2907
Copy link

sameer2907 commented Dec 20, 2023

I am using the provider elasticsearch_xpack_index_lifecycle_policy and everytime I am deploying code even without any changes, it is saying, that the following values have been updated, like:-
- in_use_by = {} -> null
- modified_date = "2023-12-20T12:01:52.586Z" -> null
- version = 4 -> null

I don't want terraform to pick these changes.
I tried using lifecycle block, and ignore_changes feature, but it is also giving below error:

Error: Unsupported attribute

on logging.tf line 304, in resource "elasticsearch_xpack_index_lifecycle_policy" "app_logs_policy":
304: in_use_by,

This object has no argument, nested block, or exported attribute named
"in_use_by".

Provider: phillbaker/elasticsearch
Version: 2.0.7

Please resolve this issue asap!

@sameer2907
Copy link
Author

I saw that this issue was resolved here:
#277 (comment)

But I am still getting the same issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant