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
posta 6 mesi fa279 visualizzazioni
1 Risposta
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
con risposta 6 mesi fa

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande