diff --git a/.github/workflows/_update_terraform.yml b/.github/workflows/_update_terraform.yml index 3547d23..7bfbb89 100644 --- a/.github/workflows/_update_terraform.yml +++ b/.github/workflows/_update_terraform.yml @@ -38,18 +38,18 @@ jobs: - name: Conditionally update staging environment if: ${{ (inputs.deployment_environment == 'staging') }} run: | - ./dockerize -template stage/services/client-api/_events.auto.tfvars.tmpl:stage/services/client-api/_events.auto.tfvars - git add stage/services/client-api/_events.auto.tfvars + ./dockerize -template stage/services/events/_events.auto.tfvars.tmpl:stage/services/events/_events.auto.tfvars + git add stage/services/events/_events.auto.tfvars git commit -m "Adding events git variables for commit ${{ github.sha }}" - name: Conditionally update production/test environments if: ${{ (inputs.deployment_environment == 'production') }} run: | - ./dockerize -template prod-eu-west/services/client-api/_events.auto.tfvars.tmpl:prod-eu-west/services/client-api/_events.auto.tfvars - ./dockerize -template test/services/client-api/_events.auto.tfvars.tmpl:test/services/client-api/_events.auto.tfvars + ./dockerize -template prod-eu-west/services/events/_events.auto.tfvars.tmpl:prod-eu-west/services/events/_events.auto.tfvars + ./dockerize -template test/services/events/_events.auto.tfvars.tmpl:test/services/events/_events.auto.tfvars - git add prod-eu-west/services/client-api/_events.auto.tfvars - git add test/services/client-api/_events.auto.tfvars + git add prod-eu-west/services/events/_events.auto.tfvars + git add test/services/events/_events.auto.tfvars git commit -m "Adding events git variables for tag ${{ inputs.image_tag }}" - name: Push changes uses: ad-m/github-push-action@v0.8.0