This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# ======================================================================== | |
# | |
# This is requires since we always assume a ROLE inside Terraform(go-sdk), | |
# BUT when we RETURN to shell we have a different IDENTITY. | |
# This shell IDENTITY must again assume the same "inside-TF ROLE" to | |
# be successful in using aws-cli | |
# | |
# ========================================================================= |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# From intro-video https://www.youtube.com/watch?v=Ng1YPjveaWg&t=1010s | |
# https://github.com/nvm-sh/nvm#installing-and-updating | |
nvm install v18.16.1 -- node | |
nvm install v18.16.1 -- npm | |
npm install -g purescript purescript-psa spago pscid |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
URL=${1:-https://releases.hashicorp.com/terraform-ls/0.32.7/terraform-ls_0.32.7_linux_amd64.zip} | |
wget -qO- $URL | bsdtar -xvf- |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
mkdir -p $HOME/tofuutils/tenv | |
# wget https://github.com/tofuutils/tenv/releases/download/v1.2.0/tenv_v1.2.0_Linux_x86_64.tar.gz | |
tar -xvf tenv_v1.2.0* -C $HOME/tofuutils/tenv | |
for f in $HOME/tofuutils/tenv/{tenv,terraform,tofu,tf} | |
do | |
ln -s $HOME/$f $HOME/.local/bin/$(basename $f) | |
done |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/make -f | |
# needs jq, terraform, git | |
SHA = $(shell git rev-parse --short HEAD) | |
TF_WRKSPC = $(shell terraform workspace show) | |
SUFF = $(SHA)-$(TF_WRKSPC) | |
.PHONY: summary |
OlderNewer