mirror of
https://github.com/GSA/notifications-api.git
synced 2026-08-24 00:06:16 -04:00
Add basic terraform bootstrap and staging environments
This commit is contained in:
12
terraform/bootstrap/run.sh
Executable file
12
terraform/bootstrap/run.sh
Executable file
@@ -0,0 +1,12 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
if [[ ! -f "secrets.auto.tfvars" ]]; then
|
||||
../create_service_account.sh -s 10x-notifications -u config-bootstrap-deployer > secrets.auto.tfvars
|
||||
fi
|
||||
|
||||
if [[ $# -gt 0 ]]; then
|
||||
echo "Running terraform $@"
|
||||
terraform $@
|
||||
else
|
||||
echo "Not running terraform"
|
||||
fi
|
||||
Reference in New Issue
Block a user