-
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
Fix: Setting default values for scale_in_protected_instances and standby_instances as per documentation #33382
Fix: Setting default values for scale_in_protected_instances and standby_instances as per documentation #33382
Conversation
Community NoteVoting for Prioritization
For Submitters
|
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.
Welcome @adiospeds 👋
It looks like this is your first Pull Request submission to the Terraform AWS Provider! If you haven’t already done so please make sure you have checked out our CONTRIBUTOR guide and FAQ to make sure your contribution is adhering to best practice and has all the necessary elements in place for a successful approval.
Also take a look at our FAQ which details how we prioritize Pull Requests for inclusion.
Thanks again, and welcome to the community! 😃
@mhowell-ims I agree to what you are saying. During troubleshooting this bug, |
… and standby_instances
6a3fb8c
to
a2b54a5
Compare
…preferences values from 'Wait' to 'Ignore'.
% make testacc TESTARGS='-run=TestAccAutoScalingGroup_InstanceRefresh_' PKG=autoscaling ACCTEST_PARALLELISM=3 ==> Checking that code complies with gofmt requirements... TF_ACC=1 go test ./internal/service/autoscaling/... -v -count 1 -parallel 3 -run=TestAccAutoScalingGroup_InstanceRefresh_ -timeout 180m === RUN TestAccAutoScalingGroup_InstanceRefresh_basic === PAUSE TestAccAutoScalingGroup_InstanceRefresh_basic === RUN TestAccAutoScalingGroup_InstanceRefresh_start === PAUSE TestAccAutoScalingGroup_InstanceRefresh_start === RUN TestAccAutoScalingGroup_InstanceRefresh_triggers === PAUSE TestAccAutoScalingGroup_InstanceRefresh_triggers === RUN TestAccAutoScalingGroup_InstanceRefresh_autoRollback === PAUSE TestAccAutoScalingGroup_InstanceRefresh_autoRollback === CONT TestAccAutoScalingGroup_InstanceRefresh_basic === CONT TestAccAutoScalingGroup_InstanceRefresh_autoRollback === CONT TestAccAutoScalingGroup_InstanceRefresh_triggers --- PASS: TestAccAutoScalingGroup_InstanceRefresh_autoRollback (188.24s) === CONT TestAccAutoScalingGroup_InstanceRefresh_start --- PASS: TestAccAutoScalingGroup_InstanceRefresh_triggers (212.21s) --- PASS: TestAccAutoScalingGroup_InstanceRefresh_basic (344.02s) --- PASS: TestAccAutoScalingGroup_InstanceRefresh_start (262.59s) PASS ok github.com/hashicorp/terraform-provider-aws/internal/service/autoscaling 456.268s
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.
LGTM 🚀.
% make testacc TESTARGS='-run=TestAccAutoScalingGroup_InstanceRefresh_' PKG=autoscaling ACCTEST_PARALLELISM=3
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./internal/service/autoscaling/... -v -count 1 -parallel 3 -run=TestAccAutoScalingGroup_InstanceRefresh_ -timeout 180m
=== RUN TestAccAutoScalingGroup_InstanceRefresh_basic
=== PAUSE TestAccAutoScalingGroup_InstanceRefresh_basic
=== RUN TestAccAutoScalingGroup_InstanceRefresh_start
=== PAUSE TestAccAutoScalingGroup_InstanceRefresh_start
=== RUN TestAccAutoScalingGroup_InstanceRefresh_triggers
=== PAUSE TestAccAutoScalingGroup_InstanceRefresh_triggers
=== RUN TestAccAutoScalingGroup_InstanceRefresh_autoRollback
=== PAUSE TestAccAutoScalingGroup_InstanceRefresh_autoRollback
=== CONT TestAccAutoScalingGroup_InstanceRefresh_basic
=== CONT TestAccAutoScalingGroup_InstanceRefresh_autoRollback
=== CONT TestAccAutoScalingGroup_InstanceRefresh_triggers
--- PASS: TestAccAutoScalingGroup_InstanceRefresh_autoRollback (188.24s)
=== CONT TestAccAutoScalingGroup_InstanceRefresh_start
--- PASS: TestAccAutoScalingGroup_InstanceRefresh_triggers (212.21s)
--- PASS: TestAccAutoScalingGroup_InstanceRefresh_basic (344.02s)
--- PASS: TestAccAutoScalingGroup_InstanceRefresh_start (262.59s)
PASS
ok github.com/hashicorp/terraform-provider-aws/internal/service/autoscaling 456.268s
@adiospeds Thanks for the contribution 🎉 👏. |
This functionality has been released in v5.16.2 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! |
I'm going to lock this pull request because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. |
Description
Since #33310 was merged we are getting below error:
While the documentation for the above parameters says the Default value for the above arguments scale_in_protected_instances and standby_instances is
Wait
I think we forgot to add it to the code.Relations
Relates #33310.
Closes #33377.