Skip to content

Instantly share code, notes, and snippets.

@atheiman
Last active December 8, 2023 03:28
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save atheiman/45e45ada59e558b21f951d8e81faf345 to your computer and use it in GitHub Desktop.
Save atheiman/45e45ada59e558b21f951d8e81faf345 to your computer and use it in GitHub Desktop.
AWS CloudShell setup
curl -Ls https://gist.githubusercontent.com/atheiman/45e45ada59e558b21f951d8e81faf345/raw/cloudshell-setup.sh?$RANDOM | bash
sudo yum install -q -y tree
curl -Ls -o /tmp/terraform.zip https://releases.hashicorp.com/terraform/1.6.5/terraform_1.6.5_linux_amd64.zip
unzip -o -q -d ~/bin /tmp/terraform.zip
terraform --version
curl -Ls -o ~/bin/terragrunt https://github.com/gruntwork-io/terragrunt/releases/download/v0.53.1/terragrunt_linux_amd64
chmod u+x ~/bin/terragrunt
terragrunt --version
export TERRAGRUNT_PARALLELISM=3
sudo yum remove python3
sudo amazon-linux-extras install python3.8
alias python=python3.8
python --version
python -m pip --version
python -m pip install -q git-remote-codecommit boto3
python -m pip freeze | grep -e git-remote-codecommit -e boto3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment