Skip to content

Latest commit

 

History

History
91 lines (58 loc) · 2.19 KB

README.md

File metadata and controls

91 lines (58 loc) · 2.19 KB

AWS - Interactive CLI

An interactive command line wrapper of the AWS CLI.

Requirements

To run this or any other Op, install the Ops Platform.

Find information about how to run and build Ops via the Ops Platform Documentation.

This Op also requires AWS credentials to work with your account. Here's what you'll need before running this Op the first time:

  • AWS Access Key Id: via the AWS Management Console:
    • AWS Management Console -> Security Credentials -> Access Keys
    • Set Access Key to AWS_ACCESS_KEY_ID in team secrets by running ops secrets:set
  • AWS Access Key Secret: via the AWS Management Console:
    • AWS Management Console -> Security Credentials -> Access Keys
    • Set Secret Key to AWS_ACCESS_KEY_SECRET in team secrets by running ops secrets:set

Usage

To initiate the interactive AWS CLI prompt run:

ops run aws

Available Commands

To skip the service selection prompt you can run:

ops run aws [service option]

For example, to use the ec2 service you can run:

ops run aws ec2

For power users, the Op offers the option to entirely skip interactive prompts, by running:

ops run aws [full command] [-p || --powermode]

Local Development / Running from Source

1. Clone the repo:

git clone <git url>

2. Navigate into the directory and install dependencies:

cd aws && npm install

1. Run the Op from your current working directory with:

ops run .

Debugging Issues

Use the DEBUG flag in the terminal to see verbose Op output like so:

DEBUG=aws:* ops run aws

When submitting issues or requesting help, be sure to also include the version information. To get your ops version run:

ops -v

Resources

AWS Docs