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
已提问 6 个月前279 查看次数
1 回答
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
已回答 6 个月前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则