amazon web services - Why is the AWS CLI failing with the error "Unknown Options" when I try to reboot RDS with failover? -
i running next command using aws cli complaining unknown options. exact error is: "unknown options: true"
aws rds reboot-db-instance --db-instance-identifier 'myinstance' --force-failover true --profile myaccount
this instance set multi-az.
this error occurs in aws cli when unknown options found. can homecoming multiple "unknown" strings joined comma, demonstrated here. in case, cli trying parse true
alternative , failed because --force-failover
not require value.
from documentation:
reboot-db-instance --db-instance-identifier <value> [--force-failover | --no-force-failover]
the brackets indicate can specify --force-failover
or --no-force-failover
, , no value required either since not specify <value>
.
just remove "true" , should set.
amazon-web-services amazon-rds aws-cli
No comments:
Post a Comment