-
Notifications
You must be signed in to change notification settings - Fork 9.3k
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_policy: Fix type of target_value for predictive scaling #28444
r/aws_autoscaling_policy: Fix type of target_value for predictive scaling #28444
Conversation
Community NoteVoting for Prioritization
For Submitters
|
5780b45
to
9d66c42
Compare
9d66c42
to
5d5dc21
Compare
5d5dc21
to
ae8272c
Compare
…ling This patch fixes type of target_value for predictive scaling, which allows double per AWS API reference. The existing users will not be affected because this change is backward compatible.
ae8272c
to
1f626f7
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.
LGTM 🚀
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=TestAccAutoScalingPolicy_' PKG=autoscaling
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./internal/service/autoscaling/... -v -count 1 -parallel 20 -run=TestAccAutoScalingPolicy_ -timeout 180m
--- PASS: TestAccAutoScalingPolicy_disappears (35.52s)
--- PASS: TestAccAutoScalingPolicy_TargetTrack_predefined (38.50s)
--- PASS: TestAccAutoScalingPolicy_predictiveScalingFloatTargetValue (45.09s)
--- PASS: TestAccAutoScalingPolicy_zeroValue (45.64s)
--- PASS: TestAccAutoScalingPolicy_predictiveScalingCustom (47.12s)
--- PASS: TestAccAutoScalingPolicy_predictiveScalingPredefined (50.94s)
--- PASS: TestAccAutoScalingPolicy_predictiveScalingRemoved (58.23s)
--- PASS: TestAccAutoScalingPolicy_TargetTrack_custom (59.06s)
--- PASS: TestAccAutoScalingPolicy_simpleScalingStepAdjustment (65.88s)
--- PASS: TestAccAutoScalingPolicy_predictiveScalingUpdated (70.65s)
--- PASS: TestAccAutoScalingPolicy_basic (74.36s)
PASS
ok github.com/hashicorp/terraform-provider-aws/internal/service/autoscaling 77.436s
This functionality has been released in v4.55.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
This patch fixes type of target_value for predictive scaling, which allows double per AWS API reference. The existing users will not be affected because this change is backward compatible (= the existing acceptance testing using
TypeInt
succeeds without modification).Relations
Closes #27817
References
This is corresponding API reference: https://docs.aws.amazon.com/autoscaling/ec2/APIReference/API_PredictiveScalingMetricSpecification.html
Output from Acceptance Testing