Updating aws_cloudfront_function and aws_cloudfront_distribution at the same time causes Precondition failure #22816
Labels
bug
Addresses a defect in current functionality.
service/cloudfront
Issues and PRs that pertain to the cloudfront service.
Milestone
Community Note
Terraform CLI and Terraform AWS Provider Version
Affected Resource(s)
Terraform Configuration Files
Please include all Terraform configurations required to reproduce the bug. Bug reports without a functional reproduction may be closed without investigation.
Debug Output
https://gist.github.com/fularac/ad5982f7671adf5ff31b7b986c3011cd
Panic Output
Expected Behavior
Apply is successful
Actual Behavior
Steps to Reproduce
terraform apply
terraform apply
Precondition Failure
, this may need to be tried multiple times. It will sometimes succeed.Important Factoids
References
The text was updated successfully, but these errors were encountered: