Skip to content
This repository has been archived by the owner on Jun 24, 2019. It is now read-only.

Latest commit

 

History

History
34 lines (25 loc) · 1.39 KB

README.md

File metadata and controls

34 lines (25 loc) · 1.39 KB

AWS CLI Orb CircleCI status CircleCI Orb Version GitHub license CircleCI Community

Easily install and configure the AWS CLI in your CircleCI jobs.

Usage

See this orb's listing in CircleCI's Orbs Registry for details on usage, or see below example:

Example

In this example config.yml snippet, the required AWS secrets (Access Key ID, Secret Access Key) are stored, via Contexts, as environment variables in the aws context and then read as default parameter values by the aws-cli/configure command.

version: 2.1

orbs:
  aws-cli: circleci/aws-cli@0.1.1

jobs:
  aws-cli:
    executor: aws-cli/default
    steps:
      - checkout
      - aws-cli/install
      - aws-cli/configure:
          profile-name: example

workflows:
  version: 2
  aws-cli:
    jobs:
      - aws-cli:
          context: aws