Skip to content

Commit

Permalink
cd to script directory at the start of the run
Browse files Browse the repository at this point in the history
Removes a need to cd by hand to the terraform directory.
  • Loading branch information
supertassu committed Oct 12, 2023
1 parent a2dd69c commit f86450b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions terraform-test.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
#!/bin/bash

cd $(dirname "$0")

terraform init

if [ "${1}" = 'eqiad1' ]
Expand Down

0 comments on commit f86450b

Please sign in to comment.