mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-05-05 08:31:00 -04:00
Address PR feedback
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user