Backfill argument not working in cli

0

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:******

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

asked 4 years ago187 views
2 Answers
0

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

answered 4 years ago
0

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!

answered 4 years ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions