-
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
Failure when changing geo_restriction type in Cloudfront distribution to "none" #20807
Comments
@olevold did you find a workaround? |
Also experiencing the same bug here. Only way to get this to build is to add some level of geo restrictions. |
WorkaroundI was able to resolve the issue by using these settings. Working settings but please see reproduction steps and details:
Details and Reproduction StepsTerraform CLI and Terraform AWS Provider Version Affected Resource(s)Cloudfront Reproduction steps:
|
I got the same error. and I also got a request body that terraform CLI sent with TF_LOG=DEBUG.
I think it looks wrong.
|
For info I couldn't just change I had to put my original Then set as below and run
|
Marking this issue as stale due to inactivity. This helps our maintainers find and focus on the active issues. If this issue receives no comments in the next 30 days it will automatically be closed. Maintainers can also remove the stale label. If this issue was automatically closed and you feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. Thank you! |
Not a great feature of github actions. Just because nobody has worked on a thing doesn't mean it is fixed. It is perfectly sensible to prioritize issues to the end of the list, but closing them out of hand is just silly. I suppose this comment will keep it alive. |
Community Note
Terraform CLI and Terraform AWS Provider Version
terraform v1.0.0
hashicorp/aws v3.57.0
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.
then change
restrictions
block to:Debug Output
Panic Output
Expected Behavior
An AWS Cloudfront distribution should have its geo restrictions changed from a whitelist to "None" upon changing the Terraform script
Actual Behavior
Terraform output
InvalidGeoRestrictionParameter: Your request contains invalid Restriction parameters.
Steps to Reproduce
restrictions
block as listed aboveImportant Factoids
References
The text was updated successfully, but these errors were encountered: