AWS CLI: AWS CLI version 2. Tips and tricks. Part 1. Wizard

  • aws dynamodb wizard returns a warning that I need to specify a subcommand:
  • How can we figure out what subcommand to use? Imagine that I don’t know that the command is new-table, and I type create-table instead:
  • As you can see it does not work, but AWS CLI returns a tip: valid choices are new-table
  • Typing aws dynamodb wizard new-table, bring us to GUI:
  • Look at that! It gives you all the necessary parameters to fill and asks for a Yes/No on optional parameters:
  • Navigation is simple: Use Arrow keys, TAB, and SHIFT+TAB
  • There are more Easter eggs though — Preview menu
  • You can preview output as AWS CLI command or AWS CloudFormation YAML template.
  1. Not all services support wizard (for example Lightsail)- you will figure it out from the output

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store