You can get the Amazon CLI on Docker-HUB
docker run -it --rm -v ${pwd}:/work -w /work --entrypoint /bin/sh amazon/aws-cli:latest
Install handy tools
yum install -y jq gzip tar git unzip wget
# create access keys in aws console
aws configure
AWS Access Key ID [None]: XXXXXX
AWS Secret Access Key [None]: XXXXXX
Default region name [None]: <your-choice>
Default output format [None]: json
curl -o /tmp/terraform.zip https://releases.hashicorp.com/terraform/0.14.5/terraform_0.14.5_linux_amd64.zip
unzip /tmp/terraform.zip
mv terraform /usr/bin
terraform -version