-
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_autoscaling_group Instance maintenance policy enhancement #34430
r/aws_autoscaling_group Instance maintenance policy enhancement #34430
Conversation
Community NoteVoting for Prioritization
For Submitters
|
…: 0 or 2; Actual: 1]'.
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=TestAccAutoScalingGroupDataSource_basic\|TestAccAutoScalingGroup_withInstanceMaintenance\|TestAccAutoScalingGroup_basic\|TestAccAutoScalingGroupDataSource_launchTemplate' PKG=autoscaling ACCTEST_PARALLELISM=2
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./internal/service/autoscaling/... -v -count 1 -parallel 2 -run=TestAccAutoScalingGroupDataSource_basic\|TestAccAutoScalingGroup_withInstanceMaintenance\|TestAccAutoScalingGroup_basic\|TestAccAutoScalingGroupDataSource_launchTemplate -timeout 360m
=== RUN TestAccAutoScalingGroupDataSource_basic
=== PAUSE TestAccAutoScalingGroupDataSource_basic
=== RUN TestAccAutoScalingGroupDataSource_launchTemplate
=== PAUSE TestAccAutoScalingGroupDataSource_launchTemplate
=== RUN TestAccAutoScalingGroup_basic
=== PAUSE TestAccAutoScalingGroup_basic
=== RUN TestAccAutoScalingGroup_withInstanceMaintenancePolicyAfterCreation
=== PAUSE TestAccAutoScalingGroup_withInstanceMaintenancePolicyAfterCreation
=== RUN TestAccAutoScalingGroup_withInstanceMaintenancePolicyAtCreation
=== PAUSE TestAccAutoScalingGroup_withInstanceMaintenancePolicyAtCreation
=== RUN TestAccAutoScalingGroup_withInstanceMaintenancePolicyNegativeValues
=== PAUSE TestAccAutoScalingGroup_withInstanceMaintenancePolicyNegativeValues
=== CONT TestAccAutoScalingGroupDataSource_basic
=== CONT TestAccAutoScalingGroup_withInstanceMaintenancePolicyAfterCreation
--- PASS: TestAccAutoScalingGroupDataSource_basic (73.58s)
=== CONT TestAccAutoScalingGroup_basic
--- PASS: TestAccAutoScalingGroup_basic (76.68s)
=== CONT TestAccAutoScalingGroupDataSource_launchTemplate
--- PASS: TestAccAutoScalingGroupDataSource_launchTemplate (59.24s)
=== CONT TestAccAutoScalingGroup_withInstanceMaintenancePolicyNegativeValues
--- PASS: TestAccAutoScalingGroup_withInstanceMaintenancePolicyNegativeValues (107.27s)
=== CONT TestAccAutoScalingGroup_withInstanceMaintenancePolicyAtCreation
--- PASS: TestAccAutoScalingGroup_withInstanceMaintenancePolicyAfterCreation (459.97s)
--- PASS: TestAccAutoScalingGroup_withInstanceMaintenancePolicyAtCreation (317.94s)
PASS
ok github.com/hashicorp/terraform-provider-aws/internal/service/autoscaling 640.127s
@sasidhar-aws Thanks for the contribution 🎉 👏. |
This functionality has been released in v5.26.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! |
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
Adds the instance_maintenance_policy (optional) argument to aws_autoscaling_group
Relations
Closes #34427
References
https://aws.amazon.com/about-aws/whats-new/2023/11/amazon-ec2-auto-scaling-ec2-instance-replacement/
Output from Acceptance Testing