-
Notifications
You must be signed in to change notification settings - Fork 9.1k
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_appautoscaling_policy: ValidationException when creating target_tracking_scaling_policy_configuration #3520
Comments
Just ran into this myself and not entirely sure why. Debug output from trying to apply it looks fine and the ECS step scaling test and the DDB target tracking acceptance tests both pass but I've managed to create a failing test for ECS target tracking scaling policies that fails with the validation exception. I've raised an AWS support ticket in case they know what's up with that but definitely feels like something is wonky on the AWS side. |
Just seen the issue now: you need to set I feel like that should just be set by the type of policy configuration you set so I'm going to try to make that change now plus flesh out the acceptance test in the WIP'd PR and update the docs which are a bit contradictory. |
@tomelliff thanks, that did help! I'd close the issue, but leaving it open as definitely something to improve in the docs, as now it says:
|
…r policy_type argument documentation Reference: #3520 Reference: https://docs.aws.amazon.com/autoscaling/application/userguide/application-auto-scaling-target-tracking.html Reference: https://docs.aws.amazon.com/autoscaling/application/userguide/application-auto-scaling-step-scaling-policies.html Switches to AWS documentation links instead of continually being out of date.
…r policy_type argument documentation (#12695) Reference: #3520 Reference: https://docs.aws.amazon.com/autoscaling/application/userguide/application-auto-scaling-target-tracking.html Reference: https://docs.aws.amazon.com/autoscaling/application/userguide/application-auto-scaling-step-scaling-policies.html Switches to AWS documentation links instead of continually being out of date.
This has been released in version 2.60.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 for triage. Thanks! |
…r policy_type argument documentation (hashicorp#12695) Reference: hashicorp#3520 Reference: https://docs.aws.amazon.com/autoscaling/application/userguide/application-auto-scaling-target-tracking.html Reference: https://docs.aws.amazon.com/autoscaling/application/userguide/application-auto-scaling-step-scaling-policies.html Switches to AWS documentation links instead of continually being out of date.
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! |
Terraform Version
Affected Resource(s)
Terraform Configuration Files
Debug Output
It contains sensitive information, hoping this issue is simple enough so it doesn't need a debug output
Expected Behavior
I should be able to create a target tracking scaling policy which was released in 1.10.0 yesterday.
Actual Behavior
It says
ValidationException: StepScaling policy configuration must be specified
, but it should not be needed if I have a target tracking scaling.Steps to Reproduce
terraform apply
Important Factoids
References
The text was updated successfully, but these errors were encountered: