Open carlosjgp opened 2 weeks ago
Voting for Prioritization
Volunteering to Work on This Issue
Hey @carlosjgp 👋 Thank you for taking the time to raise this! We'd need a bit more information to determine exactly what's going on here, I suspect. Are you able to supply a complete configuration that can be used to reproduce this (containing the data source definitions as well) and/or debug logs (redacted as needed)?
Terraform Core Version
1.5.6
AWS Provider Version
5.56.0
Affected Resource(s)
Expected Behavior
No differences in plan or apply
Actual Behavior
On every plan or apply we get a long list of changes related to S3 resources. Bucket, policies...
when the bucket is detected as "to be replaced" all the resources using it are also marked to be replaced
Relevant Error/Panic Output Snippet
where
Terraform Configuration Files
Steps to Reproduce
terraform init terraform apply -auto-approve terraform plan # <--- diff!? terraform apply -auto-approve terraform plan # <--- diff!?
Debug Output
No response
Panic Output
No response
Important Factoids
I understand that the some datasources might change values on apply but in this particular case these are quite immutable
We should be able to use these in a very reliable way
References
No response
Would you like to implement a fix?
None