mirror of
https://github.com/GSA/notifications-admin.git
synced 2025-12-11 23:53:52 -05:00
Make sure we're in the correct directory
this will make relative paths and terraform find the correct files
This commit is contained in:
@@ -46,6 +46,9 @@ set -e
|
|||||||
|
|
||||||
service_account="$username-terraform"
|
service_account="$username-terraform"
|
||||||
|
|
||||||
|
# ensure we're in the correct directory
|
||||||
|
cd $(dirname $0)
|
||||||
|
|
||||||
if [[ ! -s "secrets.auto.tfvars" ]]; then
|
if [[ ! -s "secrets.auto.tfvars" ]]; then
|
||||||
# create user in notify-local-dev space to create s3 buckets
|
# 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
|
../create_service_account.sh -s notify-local-dev -u $service_account > secrets.auto.tfvars
|
||||||
|
|||||||
Reference in New Issue
Block a user