-
Notifications
You must be signed in to change notification settings - Fork 9.2k
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
aws_cloudfront_distribution takes 10 mins for updating tags instead of 10 seconds #12138
Comments
@schammah Thanks for reporting this.
|
This is a great use case for the proposed |
👍 upvoting this. quite an annoying issue. |
I've recently seen this when modifying a distribution's origin too, except it's taking way longer than 10 mins and currently been running for 30 mins!
|
Upvoting. Takes 8 minutes to replace a tag on cloudfront_distribution. It's completely annoying. |
terraform-provider-aws/internal/service/cloudfront/distribution.go Lines 929 to 953 in 96e3d82
should add |
This functionality has been released in v5.12.0 of the Terraform AWS Provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading. For further feature requests or bug reports with this functionality, please create a new GitHub issue following the template. Thank you! |
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. |
Terraform Version
Affected Resource(s)
Terraform Configuration Files
Debug Output
files generated before apply
Expected Behavior
Expected the provider to use the TagResource
If a change in tags occurs, therefor the run would take 10 secs and not 10 minutes
Same as if you modify a tag from the console
Actual Behavior
AWS Provider is using the
4: PUT /2019-03-26/distribution/E34W9FSLFIIZ7E/config HTTP/1.1
the PUT config API for the whole distribution which is taking 10 minutes to complete
tags=****
parameter inside the resource3 run
terraform apply
, wait 10 minutesImportant Factoids
This might be occurring for other updates than tags only, it's worth investigating and modify the behavior of the provider on cloudfront distribution to be more efficient
The text was updated successfully, but these errors were encountered: