Skip to content

Commit

Permalink
fixing filepath issue for components directory
Browse files Browse the repository at this point in the history
  • Loading branch information
ConnorOKane-Kainos committed Aug 9, 2024
1 parent fee3e6e commit a335c08
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/terraform.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ jobs:
subscription-id: ${{ secrets.DCD_CFT_SANDBOX_SUBSCRIPTION }}

- name: Terraform Init
working-directory: components
working-directory: ./components
env:
STORAGE_ACCOUNT: ${{ secrets.STORAGE_ACCOUNT }}
CONTAINER_NAME: ${{ secrets.CONTAINER_NAME }}
Expand All @@ -75,7 +75,7 @@ jobs:
run: terraform init -backend-config="storage_account_name=$STORAGE_ACCOUNT" -backend-config="container_name=$CONTAINER_NAME" -backend-config="resource_group_name=$RESOURCE_GROUP_NAME" -reconfigure

- name: Terraform Validate
working-directory: components
working-directory: ./components
id: validate
env:
ARM_CLIENT_ID: ${{ secrets.AZURE_CLIENT_ID }}
Expand All @@ -85,7 +85,7 @@ jobs:
run: terraform validate

- name: Terraform Plan
working-directory: components
working-directory: ./components
id: plan
env:
ARM_CLIENT_ID: ${{ secrets.AZURE_CLIENT_ID }}
Expand All @@ -97,7 +97,7 @@ jobs:

- name: Terraform Apply
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
working-directory: components
working-directory: ./components
env:
ARM_CLIENT_ID: ${{ secrets.AZURE_CLIENT_ID }}
ARM_SUBSCRIPTION_ID: ${{ secrets.DCD_CFT_SANDBOX_SUBSCRIPTION }}
Expand Down

0 comments on commit a335c08

Please sign in to comment.