Skip to content
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

Make AdjustmentType an optional property of ScalingPolicy #849

Merged
merged 1 commit into from
Oct 12, 2017

Conversation

dgarbus
Copy link
Contributor

@dgarbus dgarbus commented Oct 12, 2017

Per the AWS docs, the AdjustmentType property is only supported for simple and step scaling policies and is no longer a required property of AWS::AutoScaling::ScalingPolicy. This change will allow for creating target tracking scaling policies without having to specify AdjustmentType, which is not used.

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-as-policy.html#cfn-as-scalingpolicy-adjustmenttype
http://docs.aws.amazon.com/AutoScaling/latest/APIReference/API_PutScalingPolicy.html#API_PutScalingPolicy_RequestParameters

…t used/supported for target

tracking scaling policies
Copy link
Member

@phobologic phobologic left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, thanks @dgarbus !

@phobologic phobologic merged commit 92937cd into cloudtools:master Oct 12, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants