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
preguntada hace 6 meses280 visualizaciones
1 Respuesta
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
respondido hace 6 meses

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.

Pautas para responder preguntas