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

resource/cloudfront_distribution: Set MaxItems 2 on origin group memb… #10357

Conversation

WhileLoop
Copy link
Contributor

Community Note

  • Please vote on this pull request by adding a 👍 reaction to the original pull request comment to help the community and maintainers prioritize this request
  • Please do not leave "+1" comments, they generate extra noise for pull request followers and do not help prioritize the request

Closes #9389

Release note for CHANGELOG:

* resource/cloudfront_distribution: Validate `origin_group` configuration block `member` argument contains max 2 items.

@WhileLoop WhileLoop requested a review from a team October 2, 2019 23:29
@ghost ghost added size/XS Managed by automation to categorize the size of a PR. service/cloudfront Issues and PRs that pertain to the cloudfront service. documentation Introduces or discusses updates to documentation. labels Oct 2, 2019
@bflad bflad added this to the v2.46.0 milestone Jan 18, 2020
@bflad bflad added the enhancement Requests to existing resources that expand the functionality or scope. label Jan 18, 2020
Copy link
Contributor

@bflad bflad left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks @WhileLoop 🚀

Output from acceptance testing:

--- PASS: TestAccAWSCloudFrontDistribution_Origin_EmptyDomainName (5.00s)
--- PASS: TestAccAWSCloudFrontDistribution_Origin_EmptyOriginID (5.05s)
--- PASS: TestAccAWSCloudFrontDistribution_DefaultCacheBehavior_ForwardedValues_Headers (1291.01s)
--- PASS: TestAccAWSCloudFrontDistribution_OrderedCacheBehavior_ForwardedValues_Headers (1292.63s)
--- PASS: TestAccAWSCloudFrontDistribution_OrderedCacheBehavior_ForwardedValues_Cookies_WhitelistedNames (1294.96s)
--- PASS: TestAccAWSCloudFrontDistribution_DefaultCacheBehavior_TrustedSigners (1295.82s)
--- PASS: TestAccAWSCloudFrontDistribution_DefaultCacheBehavior_ForwardedValues_Cookies_WhitelistedNames (1300.19s)
--- PASS: TestAccAWSCloudFrontDistribution_disappears (1306.87s)
--- PASS: TestAccAWSCloudFrontDistribution_S3Origin (2363.63s)
--- PASS: TestAccAWSCloudFrontDistribution_noOptionalItemsConfig (2365.23s)
--- PASS: TestAccAWSCloudFrontDistribution_HTTP11Config (2365.49s)
--- PASS: TestAccAWSCloudFrontDistribution_orderedCacheBehavior (2365.38s)
--- PASS: TestAccAWSCloudFrontDistribution_RetainOnDelete (2365.78s)
--- PASS: TestAccAWSCloudFrontDistribution_noCustomErrorResponseConfig (2366.88s)
--- PASS: TestAccAWSCloudFrontDistribution_customOrigin (2367.55s)
--- PASS: TestAccAWSCloudFrontDistribution_multiOrigin (2367.97s)
--- PASS: TestAccAWSCloudFrontDistribution_IsIPV6EnabledConfig (2372.97s)
--- PASS: TestAccAWSCloudFrontDistribution_WaitForDeployment (2374.01s)
--- PASS: TestAccAWSCloudFrontDistribution_ViewerCertificate_AcmCertificateArn_ConflictsWithCloudFrontDefaultCertificate (2380.48s)
--- PASS: TestAccAWSCloudFrontDistribution_ViewerCertificate_AcmCertificateArn (2386.65s)
--- PASS: TestAccAWSCloudFrontDistribution_S3OriginWithTags (3599.50s)
--- PASS: TestAccAWSCloudFrontDistribution_OriginGroups (2309.12s)
--- PASS: TestAccAWSCloudFrontDistribution_Enabled (3600.68s)

@bflad bflad merged commit e54aede into hashicorp:master Jan 18, 2020
bflad added a commit that referenced this pull request Jan 18, 2020
@ghost
Copy link

ghost commented Jan 23, 2020

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

For further feature requests or bug reports with this functionality, please create a new GitHub issue following the template for triage. Thanks!

@ghost
Copy link

ghost commented Mar 27, 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 Mar 27, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
documentation Introduces or discusses updates to documentation. enhancement Requests to existing resources that expand the functionality or scope. service/cloudfront Issues and PRs that pertain to the cloudfront service. size/XS Managed by automation to categorize the size of a PR.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Docs show, and validation allows more than 2 members in an origin_group
2 participants