Skip to content
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

CloudFront Distributions Failing to Delete on master #4091

Closed
bflad opened this issue Apr 6, 2018 · 3 comments · Fixed by #4102
Closed

CloudFront Distributions Failing to Delete on master #4091

bflad opened this issue Apr 6, 2018 · 3 comments · Fixed by #4102
Labels
bug Addresses a defect in current functionality. service/cloudfront Issues and PRs that pertain to the cloudfront service. upstream Addresses functionality related to the cloud provider.
Milestone

Comments

@bflad
Copy link
Contributor

bflad commented Apr 6, 2018

After upgrading to aws-sdk-go v1.13.28 in #4048, the acceptance testing is now failing for all CloudFront distribution tests with:

=== RUN   TestAccAWSCloudFrontDistribution_HTTP11Config
--- FAIL: TestAccAWSCloudFrontDistribution_HTTP11Config (8.79s)
    testing.go:579: Error destroying resource! WARNING: Dangling resources
        may exist. The full state and error is shown below.
        
        Error: Error applying: 1 error(s) occurred:
        
        * aws_cloudfront_distribution.http_1_1 (destroy): 1 error(s) occurred:
        
        * aws_cloudfront_distribution.http_1_1: InvalidArgument: The parameter Field level encryption id is required.
            status code: 400, request id: 5d887e11-3960-11e8-9b3f-e9be4997ebb0

Terraform Version

  • Pre-v1.14.0 of the AWS provider

Affected Resource(s)

  • aws_cloudfront_distribution
@bflad bflad added bug Addresses a defect in current functionality. upstream Addresses functionality related to the cloud provider. service/cloudfront Issues and PRs that pertain to the cloudfront service. labels Apr 6, 2018
@bflad bflad added this to the v1.14.0 milestone Apr 6, 2018
@bflad
Copy link
Contributor Author

bflad commented Apr 6, 2018

Seemingly its failing with this parameter in the SDK: https://docs.aws.amazon.com/sdk-for-go/api/service/cloudfront/#CacheBehavior

FieldLevelEncryptionId *string `type:"string"`

@bflad
Copy link
Contributor Author

bflad commented Apr 6, 2018

This new attribute has been released in version 1.14.0 of the AWS provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading.

@ghost
Copy link

ghost commented Apr 6, 2020

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 feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. Thanks!

@ghost ghost locked and limited conversation to collaborators Apr 6, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Addresses a defect in current functionality. service/cloudfront Issues and PRs that pertain to the cloudfront service. upstream Addresses functionality related to the cloud provider.
Projects
None yet
1 participant