Skip to content

Commit

Permalink
adding config + pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
ConnorOKane-Kainos committed Jul 5, 2024
1 parent a4c6db4 commit b7b06c6
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/pipeline.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ jobs:
with:
client-id: ${{ secrets.AZURE_CLIENT_ID }}
tenant-id: ${{ secrets.AZURE_TENANT_ID }}
subscription-id: ${{ secrets.DCD_CFT_SANDBOX_SUBSCRIPTION }}
enable-AzPSSession: false # Disabling this to avoid potential issues
subscription-id: ${{ secrets.DCD_CFT_AZURE_SUBSCRIPTION_ID }}
enable-AzPSSession: false

- name: Setup Terraform
uses: hashicorp/setup-terraform@v1
Expand All @@ -38,8 +38,9 @@ jobs:
working-directory: components
env:
ARM_CLIENT_ID: ${{ secrets.AZURE_CLIENT_ID }}
ARM_CLIENT_SECRET: ${{ secrets.AZURE_CLIENT_SECRET }}
ARM_TENANT_ID: ${{ secrets.AZURE_TENANT_ID }}
ARM_SUBSCRIPTION_ID: ${{ secrets.DCD_CFT_SANDBOX_SUBSCRIPTION }}
ARM_SUBSCRIPTION_ID: ${{ secrets.DCD_CFT_AZURE_SUBSCRIPTION_ID }}
run: |
terraform init \
-backend-config="resource_group_name=rule-set-rg" \
Expand All @@ -51,8 +52,9 @@ jobs:
working-directory: components
env:
ARM_CLIENT_ID: ${{ secrets.AZURE_CLIENT_ID }}
ARM_CLIENT_SECRET: ${{ secrets.AZURE_CLIENT_SECRET }}
ARM_TENANT_ID: ${{ secrets.AZURE_TENANT_ID }}
ARM_SUBSCRIPTION_ID: ${{ secrets.DCD_CFT_SANDBOX_SUBSCRIPTION }}
ARM_SUBSCRIPTION_ID: ${{ secrets.DCD_CFT_AZURE_SUBSCRIPTION_ID }}
run: |
terraform plan -out=tfplan \
-var="location=UK South" \
Expand Down

0 comments on commit b7b06c6

Please sign in to comment.