Skip to main content

Setting up

Now, we can start with the set up. Below I will detail the steps required to get your local set up prepared.

Local set up

  1. Install AWS CLI
brew install awscli

To verify a successful installation, run:

aws --version

And the output should be something similar to this: aws-cli/2.17.13 Python/3.11.9 Darwin/23.5.0 source/arm64

  1. Install Terraform
brew tap hashicorp/tap
brew install hashicorp/tap/terraform

To verify a successful installation, run:

terraform -version

And the output should be something similar to this: Terraform v1.9.2 on darwin_arm64

  1. Authenticate with your AWS account

To create an AWS user with programmatic access, you can go here to create a user and here to create the access and secret keys. Once you have those saved, run the following to authenticate with your AWS account:

aws configure

This command will prompt you to enter your access key, secret key, default region, and default output. Once you have completed this step, you can validate a successful authentication by running the following:

aws s3 ls

It should either return a list of your buckets, or a successful command exit. If an error comes up, please check AWS docs for proper troubleshooting.