You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Cannot create a custom origin behind the default one, because
The given value is not suitable for child module variable "custom_origins" defined at .terraform/modules/cloudfront-cdn/variables.tf:327,1-26: element 0: attribute "s3_origin_config" is required.
Or when we add s3_origin_config
Error: error updating CloudFront Distribution (E2WW4FISAR8BSH): IllegalUpdate: You must specify either a CustomOrigin or an S3Origin. You cannot specify both.
Expected Behavior
We should be able to add a custom origin accordingly to the documentation
Run terraform apply and the the error from CloudFront
Error: error updating CloudFront Distribution (XXXXXXXXXXXXXX): IllegalUpdate: You must specify either a CustomOrigin or an S3Origin. You cannot specify both.
I have the same problem,but I didn't apply. Shouldn't custom source have origin_access_identity? Adding this config will cause my origin to be recreate.
Describe the Bug
Cannot create a custom origin behind the default one, because
The given value is not suitable for child module variable "custom_origins" defined at .terraform/modules/cloudfront-cdn/variables.tf:327,1-26: element 0: attribute "s3_origin_config" is required.
Or when we add
s3_origin_config
Error: error updating CloudFront Distribution (E2WW4FISAR8BSH): IllegalUpdate: You must specify either a CustomOrigin or an S3Origin. You cannot specify both.
Expected Behavior
We should be able to add a custom origin accordingly to the documentation
Steps to Reproduce
Add the following block to the main.tf
Steps to reproduce the behavior:
terraform plan
- get the error about misseds3_origin_config
optionEnvironment
Additional Context
Maybe something is missing in my configuration, and where we can find a working example with a custom origin?
Thank you!
The text was updated successfully, but these errors were encountered: