-
Notifications
You must be signed in to change notification settings - Fork 9.4k
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
API Gateway deployment resource, field stage_name not required #2918 #6459
API Gateway deployment resource, field stage_name not required #2918 #6459
Conversation
Hi @sousmangoosta 👋 Thanks for submitting this! Would you be able to include a new acceptance test and test configuration that covers not setting this argument? |
Hi @bflad , I'll try doing that, I found a bug for this change. But on apply, the map does not contain stage_name, so terraform complaints with |
Hey @bflad, I don't have this bug anymore, so I will add new acceptance test, and push when ready. |
cd6aecb
to
2ba99cd
Compare
@bflad acceptance tests has been added.
|
2ba99cd
to
6b2c28d
Compare
@bflad : Is there someone to review this one ? |
Commenting to bump this PR, ran into this issue today. |
Just wanted to put another bump in here. I'm working around this with an apply-import-apply chain of commands, but it would be nice to have this actually optional as displayed in the docs. |
Hit this issue at work. Giving a bump |
also running into this issue. bump. |
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.
Hi @sousmangoosta 👋 Thanks for this contribution and sorry for the delay. After refactoring the testing changes to match the newer testing on master, acceptance testing passes.
--- PASS: TestAccAWSAPIGatewayDeployment_StageName_EmptyString (20.75s)
--- PASS: TestAccAWSAPIGatewayDeployment_Description (55.58s)
--- PASS: TestAccAWSAPIGatewayDeployment_createBeforeDestoryUpdate (56.30s)
--- PASS: TestAccAWSAPIGatewayDeployment_Variables (117.39s)
--- PASS: TestAccAWSAPIGatewayDeployment_StageName (138.02s)
--- PASS: TestAccAWSAPIGatewayDeployment_StageDescription (201.81s)
--- PASS: TestAccAWSAPIGatewayDeployment_basic (211.81s)
This has been released in version 2.3.0 of the Terraform AWS provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading. |
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! |
Fixes #2918
Changes proposed in this pull request: