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
gefragt vor 6 Monaten279 Aufrufe
1 Antwort
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
beantwortet vor 6 Monaten

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen