In the config.yml file, I’m trying to install or run the AWS CLI. I get “command not found” on almost everything.
version: 2
jobs:
build:
docker:
- image: circleci/terraform:0.11.10
steps:
- checkout
- run:
name: Terraform
command: terraform version
- run:
name: AWS
command: aws sts get-caller-identity
- run:
name: Print the Current Time
command: date
The Terraform command works but the aws command does not. I would have assumed AWS CLI was installed for Terraform.
I have tried to install the AWS CLI and pip with “sudo apt-get…”, apt-get update", “apt update”, “sudo apt-get install python-pip”, everything I can think of but I always get “command not found”.
Please advise.