-
Notifications
You must be signed in to change notification settings - Fork 9.2k
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
r/aws_apigateway_stage: add deployment_id to canary_settings #39929
Conversation
Community NoteVoting for Prioritization
For Submitters
|
1c149c8
to
e55504a
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A couple changes to make in the tests for both resources and a schema change for aws_api_gateway_stage
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good! 🚀
One tweak to documentation.
Not a blocker, but consider adding
RequiredWith: []string{
"stage_name",
},
to canary_settings
and stage_description
since neither can be set if stage_name
isn't set
Also consider using resource.ParallelTest
instead of resource.Test
for TestAccAPIGatewayDeployment_deploymentCanarySettings
--- PASS: TestAccAPIGateway_serial (3664.84s)
--- PASS: TestAccAPIGateway_serial/Stage (3664.84s)
--- PASS: TestAccAPIGateway_serial/Stage/basic (87.04s)
--- PASS: TestAccAPIGateway_serial/Stage/disappears (40.31s)
--- PASS: TestAccAPIGateway_serial/Stage/CanarySettings (95.91s)
--- PASS: TestAccAPIGateway_serial/Stage/CacheSizeCacheDisabled (698.45s)
--- PASS: TestAccAPIGateway_serial/Stage/AccessLogSettings (92.00s)
--- PASS: TestAccAPIGateway_serial/Stage/AccessLogSettings_kinesis (110.29s)
--- PASS: TestAccAPIGateway_serial/Stage/WAF (187.21s)
--- PASS: TestAccAPIGateway_serial/Stage/tags (1515.31s)
--- PASS: TestAccAPIGateway_serial/Stage/tags/basic (74.55s)
--- PASS: TestAccAPIGateway_serial/Stage/tags/EmptyMap (64.66s)
--- PASS: TestAccAPIGateway_serial/Stage/tags/EmptyTag_OnUpdate_Replace (48.39s)
--- PASS: TestAccAPIGateway_serial/Stage/tags/DefaultTags_emptyResourceTag (54.79s)
--- PASS: TestAccAPIGateway_serial/Stage/tags/ComputedTag_OnUpdate_Add (145.25s)
--- PASS: TestAccAPIGateway_serial/Stage/tags/AddOnUpdate (74.80s)
--- PASS: TestAccAPIGateway_serial/Stage/tags/EmptyTag_OnUpdate_Add (85.71s)
--- PASS: TestAccAPIGateway_serial/Stage/tags/DefaultTags_overlapping (93.46s)
--- PASS: TestAccAPIGateway_serial/Stage/tags/DefaultTags_updateToProviderOnly (39.26s)
--- PASS: TestAccAPIGateway_serial/Stage/tags/null (50.65s)
--- PASS: TestAccAPIGateway_serial/Stage/tags/DefaultTags_providerOnly (88.82s)
--- PASS: TestAccAPIGateway_serial/Stage/tags/DefaultTags_updateToResourceOnly (93.91s)
--- PASS: TestAccAPIGateway_serial/Stage/tags/DefaultTags_nullOverlappingResourceTag (23.64s)
--- PASS: TestAccAPIGateway_serial/Stage/tags/ComputedTag_OnCreate (108.74s)
--- PASS: TestAccAPIGateway_serial/Stage/tags/ComputedTag_OnUpdate_Replace (47.96s)
--- PASS: TestAccAPIGateway_serial/Stage/tags/EmptyTag_OnCreate (72.77s)
--- PASS: TestAccAPIGateway_serial/Stage/tags/DefaultTags_nonOverlapping (149.53s)
--- PASS: TestAccAPIGateway_serial/Stage/tags/DefaultTags_nullNonOverlappingResourceTag (64.82s)
--- PASS: TestAccAPIGateway_serial/Stage/tags/IgnoreTags_Overlap_DefaultTag (74.98s)
--- PASS: TestAccAPIGateway_serial/Stage/tags/IgnoreTags_Overlap_ResourceTag (58.62s)
--- PASS: TestAccAPIGateway_serial/Stage/disappears_restAPI (24.84s)
--- PASS: TestAccAPIGateway_serial/Stage/Cache (813.47s)
--- PASS: TestAccAPIGatewayDeployment_deploymentCanarySettings (48.11s)
--- PASS: TestAccAPIGatewayDeployment_StageName_emptyString (31.90s)
--- PASS: TestAccAPIGatewayDeployment_description (45.88s)
--- PASS: TestAccAPIGatewayDeployment_stageName (56.65s)
--- PASS: TestAccAPIGatewayDeployment_stageDescription (130.17s)
--- PASS: TestAccAPIGatewayDeployment_conflictingConnectionType (136.15s)
--- PASS: TestAccAPIGatewayDeployment_triggers (177.67s)
--- PASS: TestAccAPIGatewayDeployment_variables (209.79s)
--- PASS: TestAccAPIGatewayDeployment_basic (259.49s)
--- PASS: TestAccAPIGatewayDeployment_Disappears_restAPI (377.61s)
--- PASS: TestAccAPIGatewayDeployment_disappears (561.81s)
changes made that make this stale
Co-authored-by: Graham Davison <gdavison@hashicorp.com>
…ttings and stage_description
This functionality has been released in v5.75.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. Thank you! |
Description
Relations
Closes #27326.
References
Output from Acceptance Testing