-
Notifications
You must be signed in to change notification settings - Fork 9.5k
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 - "OriginReadTimeout is required for updates." #13627
Comments
According to the aws golang documentation, the struct CustomOriginConfig: &cloudfront.CustomOriginConfig{
HTTPPort: aws.Int64(1), // Required
HTTPSPort: aws.Int64(1), // Required
OriginProtocolPolicy: aws.String("OriginProtocolPolicy"), // Required
OriginKeepaliveTimeout: aws.Int64(1),
OriginReadTimeout: aws.Int64(1),
OriginSslProtocols: &cloudfront.OriginSslProtocols{
Items: []*string{ // Required
aws.String("SslProtocol"), // Required
// More values...
},
Quantity: aws.Int64(1), // Required
},
}, Full example here Here the function that manage the Hope it will help ! |
Hi @zevran This is currently working in a PR! I hope to get this merged soon Paul |
Link to pull request: #13367 |
Is there any work around for this until the PR is merged and released? |
@pmacdougall What I had to do was to apply the change manually and in some cases modify the Alternatively do the manual change and use |
Thanks @kitsunde . TIL: |
@stack72
|
It's worth noting that this also prevents destroying a distribution because terraform (correctly) disables it before deleting it and fails to complete the update. |
Looks like #13367 has been merged and will be released with v0.9.5 |
Closed via #13367 Sorry for the time it too to fix this up |
No need to apologize, Paul! Thanks for the fix.
…On Wed, 26 Apr 2017, 15:43 Paul Stack, ***@***.***> wrote:
Closed via #13367 <#13367>
Sorry for the time it too to fix this up
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#13627 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAWkx7njcRKYew9wPcKWfpozOe20CT4Lks5rz1ffgaJpZM4M8ztu>
.
|
what's the ETA for 0.9.5? |
The custom_origin_config is required because terraform will insist that the bucket name is incorrect as it doesn't follow the irlpodcast.s3.amazonaws.com format. requires terraform 0.9.8 see also: hashicorp/terraform#10572 hashicorp/terraform#13627
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. If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further. |
Hello,
Terraform Version
v0.9.3
Affected Resource(s)
Terraform Configuration Files
Then add IPv6 support
is_ipv6_enabled = true
:Debug Output
Panic Output
Expected Behavior
What should have happened?
Resource aws_cloudfront_distribution.cdn should be updated with IPv6 support added.
Actual Behavior
What actually happened?
Steps to Reproduce
terraform apply
to apply the resource aws_cloudfront_distribution.cdnterraform taint aws_cloudfront_distribution.cdn
terraform apply
Thanks :)
The text was updated successfully, but these errors were encountered: