Skip to content

Commit

Permalink
Merge pull request #66 from star3am/feature/small-fixes
Browse files Browse the repository at this point in the history
force pip install and tf linting
  • Loading branch information
star3am authored Sep 4, 2024
2 parents ce10f83 + 5d603b7 commit 71a48e9
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions localstack/localstack.sh
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ fi
echo -e '\e[38;5;198m'"++++ "
echo -e '\e[38;5;198m'"++++ Bring up Localstack"
echo -e '\e[38;5;198m'"++++ "
pip3 install --upgrade awscli-local
pip3 install --upgrade awscli-local --break-system-packages
sudo rm -rf awscliv2.zip
# https://aws.amazon.com/blogs/developer/aws-cli-v2-now-available-for-linux-arm/ aarch64
curl -s "https://awscli.amazonaws.com/awscli-exe-linux-${arch}.zip" -o "awscliv2.zip"
Expand All @@ -48,8 +48,8 @@ sudo unzip -q awscliv2.zip
yes | sudo ./aws/install --update
echo -e '\e[38;5;198m'"aws --version"
aws --version
python3 -m pip install awscli-local --quiet
python3 -m pip install flask-cors --quiet
python3 -m pip install awscli-local --break-system-packages --quiet
python3 -m pip install flask-cors --break-system-packages --quiet
sudo -E docker stop localstack_main
yes | sudo docker system prune --volumes
sudo docker run --rm -it -d -p 4566:4566 -p 4571:4571 --rm --privileged --name localstack_main localstack/localstack
Expand Down
8 changes: 4 additions & 4 deletions localstack/provider.tf
Original file line number Diff line number Diff line change
Expand Up @@ -13,19 +13,19 @@ terraform {
version = "~> 5.0"
}
vault = {
source = "hashicorp/vault"
source = "hashicorp/vault"
version = "~> 4.0"
}
consul = {
source = "hashicorp/consul"
source = "hashicorp/consul"
version = "~> 2.0"
}
nomad = {
source = "hashicorp/nomad"
source = "hashicorp/nomad"
version = "~> 2.0"
}
boundary = {
source = "hashicorp/boundary"
source = "hashicorp/boundary"
version = "~> 1.0"
}
}
Expand Down

0 comments on commit 71a48e9

Please sign in to comment.