Skip to content

Commit

Permalink
Removed deployment of backend infra
Browse files Browse the repository at this point in the history
  • Loading branch information
blueelvis committed Nov 30, 2024
1 parent ae9f629 commit 9fd8001
Showing 1 changed file with 0 additions and 21 deletions.
21 changes: 0 additions & 21 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,25 +28,6 @@ jobs:
with:
terraform_version: "1.7.0"

# Deploy backend infrastructure
- name: Terraform Init Backend
run: terraform init
working-directory: ./terraform
env:
ARM_USE_OIDC: true
ARM_CLIENT_ID: ${{ secrets.AZURE_CLIENT_ID }}
ARM_SUBSCRIPTION_ID: ${{ secrets.AZURE_SUBSCRIPTION_ID }}
ARM_TENANT_ID: ${{ secrets.AZURE_TENANT_ID }}

- name: Terraform Apply Backend
run: terraform apply -auto-approve
working-directory: ./terraform
env:
ARM_USE_OIDC: true
ARM_CLIENT_ID: ${{ secrets.AZURE_CLIENT_ID }}
ARM_SUBSCRIPTION_ID: ${{ secrets.AZURE_SUBSCRIPTION_ID }}
ARM_TENANT_ID: ${{ secrets.AZURE_TENANT_ID }}

# Deploy main infrastructure
- name: Terraform Init
run: terraform init
Expand All @@ -65,8 +46,6 @@ jobs:
ARM_CLIENT_ID: ${{ secrets.AZURE_CLIENT_ID }}
ARM_SUBSCRIPTION_ID: ${{ secrets.AZURE_SUBSCRIPTION_ID }}
ARM_TENANT_ID: ${{ secrets.AZURE_TENANT_ID }}
TF_VAR_subscription_id: ${{ secrets.AZURE_SUBSCRIPTION_ID }}
TF_VAR_resource_group_name: ${{ vars.RESOURCE_GROUP_NAME }}

- name: Terraform Apply
run: terraform apply -auto-approve tfplan
Expand Down

0 comments on commit 9fd8001

Please sign in to comment.