AWS CLI

  • --dry-run : to test if you have required permissions or not

  • --output : output format (json/yaml/text/table)

  • --page-size : avoid time out errors

  • --no-paginate: display only first page

  • --debug: Debug mode (verbose)

  • CLI precedence

    1. Command line

    2. Environment variables

    3. CLI credentials file (.aws/config)

    4. Container credentials

    5. Instance profile credentials

https://docs.aws.amazon.com/cli/latest/userguide/cli-configure-quickstart.html#cli-configure-quickstart-precedence