diff --git a/.github/workflows/actions.yml b/.github/workflows/actions.yml index 305819f..76e7550 100644 --- a/.github/workflows/actions.yml +++ b/.github/workflows/actions.yml @@ -8,15 +8,16 @@ on: jobs: deploy: runs-on: ubuntu-latest + + defaults: + run: + shell: bash steps: - name: Checkout code uses: actions/checkout@v3 - - name: Change directory - run: cd terraform-config - # Install the latest version of Terraform CLI and configure the Terraform CLI configuration file with a Terraform Cloud user API token - name: Setup Terraform uses: hashicorp/setup-terraform@v1 @@ -25,6 +26,7 @@ jobs: # Initialize a new or existing Terraform working directory by creating initial files, loading any remote state, downloading modules, etc. - name: Terraform Init + run: cd terraform-config run: terraform init # Checks that all Terraform configuration files adhere to a canonical format