Open pccowboy opened 3 months ago
Voting for Prioritization
Volunteering to Work on This Issue
This is a blocking behavior. Attempting to apply an affected plan with v5.40.0 errors out with:
│ Error: updating EFS file system (fs-REDACTED) protection: ReplicationAlreadyExists: ReplicationOverwriteProtection cannot be changed while the file system is a replication destination.
Terraform Core Version
v1.6.2
AWS Provider Version
5.33.0
Affected Resource(s)
aws_efs_file_system
Expected Behavior
After the efs file system replication was started, later plans on the same resources should not show any pending changes
Actual Behavior
After the replication configuration is in place, the plan shows a pending change to the replication destination filesystem
efs_2
:Relevant Error/Panic Output Snippet
No response
Terraform Configuration Files
Steps to Reproduce
Debug Output
No response
Panic Output
No response
Important Factoids
I'm sure we could add
to efs_2 as a workaround, but hardcoding an exception seems a poor way to go. I think it would be better if terraform reported this "change" as an expected state in the plan, so that an actual change still gets reported (instead of being blocked by the ignore_changes statement).
References
No response
Would you like to implement a fix?
No