Address PR feedback

This commit is contained in:
Ryan Ahearn
2023-03-14 16:00:40 -04:00
parent 67b64f11b9
commit e3610f7d9d
5 changed files with 40 additions and 35 deletions

View File

@@ -46,11 +46,15 @@ set -e
service_account="$username-terraform"
if [[ ! -f "secrets.auto.tfvars" ]]; then
if [[ ! -s "secrets.auto.tfvars" ]]; then
# create user in notify-local-dev space to create s3 buckets
../create_service_account.sh -s notify-local-dev -u $service_account > secrets.auto.tfvars
fi
if [[ ! -f "../../.env" ]]; then
cp ../../sample.env ../../.env
fi
set +e
terraform init