Open corey-cole opened 4 weeks ago
Thanks for reporting. Regarding the issue you referenced (https://github.com/aws/aws-cli/issues/8211) it looks like the example in the create-snapshots documentation has since been fixed to include quotes:
However there are not quotes in the example documented for create-subnet:
It looks like this relates to https://github.com/aws/aws-cli/issues/7227, where the takeaway was that this is an issue with how shorthand syntax examples are generated. So we may want to consolidate these issues. Also maybe further clarification regarding quoting could be added to the general documentation on shorthand syntax: https://docs.aws.amazon.com/cli/latest/userguide/cli-usage-shorthand.html#shorthand-list-parameters
Describe the bug
This is a reopening of Issue #8211. Was able to verify that the behavior is present on multiple 2.x versions of the CLI across multiple operating systems.
Expected Behavior
AWS CLI commands should work when following the published documentation.
Current Behavior
AWS CLI command created following the published documentation fails with an unexpected error.
Reproduction Steps
Fully double quoting the argument to
tag-specifications
results in a successful invocation on both platforms.Full debug log from MacOS is attached. debug-log-macos.txt
Possible Solution
No response
Additional Information/Context
No response
CLI version used
Multiple (see repro)
Environment details (OS name and version, etc.)
Multiple (see repro)