-
Notifications
You must be signed in to change notification settings - Fork 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
[autoscaling] StepScalingPolicy ignores estimatedInstanceWarmup property #10514
Comments
Furthermore, the |
This issue has not received any attention in 1 year. If you want to keep this issue open, please leave a comment below and auto-close will be canceled. |
it appears that it used as a default for instance warmup since cloudformation doesn't support defaultInstanceWarmup for now |
…up property (#20936) Fix #10514 ---- ### All Submissions: * [ x] Have you followed the guidelines in our [Contributing guide?](https://github.com/aws/aws-cdk/blob/main/CONTRIBUTING.md) ### Adding new Unconventional Dependencies: * [ ] This PR adds new unconventional dependencies following the process described [here](https://github.com/aws/aws-cdk/blob/main/CONTRIBUTING.md/#adding-new-unconventional-dependencies) ### New Features * [ ] Have you added the new feature to an [integration test](https://github.com/aws/aws-cdk/blob/main/INTEGRATION_TESTS.md)? * [ ] Did you use `yarn integ` to deploy the infrastructure and generate the snapshot (i.e. `yarn integ` without `--dry-run`)? *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
…up property (aws#20936) Fix aws#10514 ---- ### All Submissions: * [ x] Have you followed the guidelines in our [Contributing guide?](https://github.com/aws/aws-cdk/blob/main/CONTRIBUTING.md) ### Adding new Unconventional Dependencies: * [ ] This PR adds new unconventional dependencies following the process described [here](https://github.com/aws/aws-cdk/blob/main/CONTRIBUTING.md/#adding-new-unconventional-dependencies) ### New Features * [ ] Have you added the new feature to an [integration test](https://github.com/aws/aws-cdk/blob/main/INTEGRATION_TESTS.md)? * [ ] Did you use `yarn integ` to deploy the infrastructure and generate the snapshot (i.e. `yarn integ` without `--dry-run`)? *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
Hi @BDeus Hi @ddneilson - It seems the CFN documentation changed for DefaultInstanceWarmup within the last days - It seems that is now available via CFN (hence at minimum as L1 in CDK). |
The implementation of StepScalingPolicy ignores the estimatedInstanceWarmup property of the construct.
The property should be passed on to the StepScalingAction objects (lowerAction & upperAction) that the StepScalingPolicy creates, but it is not.
Reproduction Steps
Create a StepScalingPolicy with an estimatedInstanceWarmup property value.
What did you expect to happen?
The value of estimatedInstanceWarmup is translated into a value for the EstimatedInstanceWarmup property of the generated AWS::AutoScaling::ScalingPolicy.
What actually happened?
There is no EstimatedInstanceWarmup value in the generated AWS::AutoScaling::ScalingPolicy resource.
Environment
This is 🐛 Bug Report
The text was updated successfully, but these errors were encountered: