Skip to content

Commit

Permalink
Add v1 cloudshell bootstrap script contents
Browse files Browse the repository at this point in the history
  • Loading branch information
stv-io committed May 15, 2023
1 parent 2d68db9 commit 4c92300
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 3 deletions.
3 changes: 0 additions & 3 deletions cloud/google/cloudshell.sh

This file was deleted.

14 changes: 14 additions & 0 deletions cloud/google/v1/cloudshell.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
#!/bin/bash

export TERRAFORM_SWITCHER_VERSION=0.13.1308
export TGSWITCH_VERSION=0.6.0
sudo rm -rvf /usr/bin/terraform
mkdir -p ~/bin
curl https://raw.githubusercontent.com/warrensbox/terraform-switcher/release/install.sh -o tfswitch-install.sh
bash tfswitch-install.sh -b ~/bin
rm -vf tfswitch-install.sh
curl https://raw.githubusercontent.com/warrensbox/tgswitch/release/install.sh -o tgswitch-install.sh
bash tgswitch-install.sh -b ~/bin
rm -vf tgswitch-install.sh
echo "export PATH=$PATH:~/bin" >> ~/.bashrc
source ~/.bashrc

0 comments on commit 4c92300

Please sign in to comment.