resource aws_cloudfront_distribution restrictions with restriction_type equal to "none" gives an invalid request parameter #19243
Labels
bug
Addresses a defect in current functionality.
service/cloudfront
Issues and PRs that pertain to the cloudfront service.
I'm trying to configure the terraform to create a cloudfront. After a few tries, following the examples I successfully created one cloudfront, than I started to make a few tweaks to implement my desire configuration.
In my config I want to disable the geo restrictions so I follow the configuration and got an error.
with this it's working
and with this not
error
The terraform plan works go and only gives the error after starting to making the apply on the api
Community Note
Terraform CLI and Terraform AWS Provider Version
terraform 0.13.5
aws 3.38.0
Affected Resource(s)
References
https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/cloudfront_distribution#restrictions-arguments
The text was updated successfully, but these errors were encountered: