Automation : autoscaling : StartInstanceRefresh : MaxHealthyPercentage ERROR

0

Hi,

I run Document, which runs AutoScaling via the API.

By providing these parameters:

SkipMatching: false

MinHealthyPercentage: 100

InstanceWarmup: 300

Everything works, but when I specify the MaxHealthyPercentage parameter, it gives me an error:

VerificationErrorMessage

Parameter validation failed:Unknown parameter in Preferences: "maxHealthyPercentage", must be one of: MinHealthyPercentage, InstanceWarmup, CheckpointPercentages, CheckpointDelay, SkipMatching, AutoRollback, ScaleInProtectedInstances, StandbyInstances, AlarmSpecification

Any suggestions ?

Thanx

Marek

Marek
asked 5 months ago263 views
1 Answer
1

Whenever you see an error about a parameter not existing, it usually means the version of the CLI/SDK being used isn't up to date. Since MaxHealthyPercentage is a very new feature, I'd guess that's what's happening here

Since you mentioned an Automation Document, I assume this is running via CLI on an instance using SSM? If so, make sure to update the CLI on that instance to the latest version

AWS
answered 5 months ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions