Skip to main content

The Basics

Prereq


  • See Setting up Pulumi to setup Pulumi, and get the details of the cloud environment.
  • Ensure you have created an account via AWS IAM within the Pulumi Project

Install AWS CLI


On macOS (using Homebrew)

brew install awscli

On Linux

Download and install using the bundled installer:

curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip"
unzip awscliv2.zip
sudo ./aws/install

Verify installation:

aws --version

On Windows

  • Download the AWS CLI installer from AWS CLI for Windows.
  • Run the downloaded installer and follow the prompts.
  • Verify installation:
aws --version

Configuration

After installation, configure AWS CLI by running:

aws configure

Provide your AWS credentials and default region when prompted.