Open thaim opened 10 months ago
Voting for Prioritization
Volunteering to Work on This Issue
I have same issue on AWS Provider version 5.53.0
.
Additional information: when trusted_key_groups
is removed from ordered_cache_behavior
everything works fine. When it is removed from default_cache_behavior
terraform detects no changes.
Also seeing this issue in 5.64.0
+1
+1 AWS provider version: v5.32.1
Terraform Core Version
1.7.0, 1.5.7
AWS Provider Version
5.33.0
Affected Resource(s)
Expected Behavior
When
trusted_key_groups
are removed from cloudfront distribution configuration in Terraform, the restricted viewer access mode should be disabled in the CloudFront distribution settings.Actual Behavior
After removing
trusted_key_groups
from the Terraform configuration and runningterraform apply
, Terraform detects no changes. The CloudFront distribution still has the viewer access mode enabled with the previously configured trusted key groups.Relevant Error/Panic Output Snippet
No response
Terraform Configuration Files
Steps to Reproduce
trusted_key_groups
attribute from theaws_cloudfront_distribution
resource in the Terraform configuration.Debug Output
No response
Panic Output
No response
Important Factoids
No response
References
No response
Would you like to implement a fix?
None