Summary
Did you know you can use AWS CLI in interactive mode with autocomplete !?
So, this mean no more looking up commands or parameters for different services when using the AWS CLI.
Requirements
Before trying this out, make sure you have the AWS CLI version 2.
⚠️ Note: This is required!
Getting started
There are a few ways to enable this feature.
1. Using the environment variable
export AWS_CLI_AUTO_PROMPT=on-partial
or
export AWS_CLI_AUTO_PROMPT=on
2. Using CLI Parameter
aws --cli-auto-prompt
3. Using AWS CLI config (Save it to your preference)
aws configure set cli_auto_prompt on-partial
Demo
Here is a little demo of this feature in action.
What a time saver! No more looking up parameters for AWS services when using the CLI.
Try it out for yourself!
And... That’s it.
If you found this helpful be sure to like and comment 🙏❤️ (Thanks!)