Backfill argument not working in cli

Hey I am currently extending our CI. Wanted to set Backfill to automatic via the cli but this throws me an error: "unknown options: --backfill-mode “AUTOMATIC” ". Did something change or is it documented wrongly?

Here is my CLI command:
aws gamelift create-matchmaking-configuration --name "DEVELOPMENT-ONEVSZERO" --rule-set-name "DEVELOPMENT-ONEVSZERO" --game-session-queue-arns arn:aXXX --game-properties "[{\\"Key\\": \\"team_size\\", \\"Value\\": \\"1\\"}]" --notification-target XXX --request-timeout-seconds 600 --no-acceptance-required --backfill-mode AUTOMATIC

Also:
aws gamelift create-matchmaking-configuration --generate-cli-skeleton
Doesnt return anything backfill related:
{ "Name": "", "Description": "", "GameSessionQueueArns": [ "" ], "RequestTimeoutSeconds": 0, "AcceptanceTimeoutSeconds": 0, "AcceptanceRequired": true, "RuleSetName": "", "NotificationTarget": "", "AdditionalPlayerCount": 0, "CustomEventData": "", "GameProperties": [ { "Key": "", "Value": "" } ], "GameSessionData": "" }

https://docs.aws.amazon.com/gamelift/latest/developerguide/match-create-configuration.html

Thanks,
Kris

I just tried this locally and it worked – perhaps you need to upgrade the version of the cli that you’re using?

Here’s the version I have:

% aws --version
aws-cli/1.16.263 Python/3.6.9 Linux/4.9.184-0.1.ac.235.83.329.metal1.x86_64 botocore/1.12.253

1 Like

Ahh updating did do the trick:

{ "Name": "", "Description": "", "GameSessionQueueArns": [ "" ], "RequestTimeoutSeconds": 0, "AcceptanceTimeoutSeconds": 0, "AcceptanceRequired": true, "RuleSetName": "", "NotificationTarget": "", "AdditionalPlayerCount": 0, "CustomEventData": "", "GameProperties": [ { "Key": "", "Value": "" } ], "GameSessionData": "", "BackfillMode": "MANUAL" }

Thanks!