Skip to content
This repository was archived by the owner on Apr 1, 2025. It is now read-only.

Commit b4dbb86

Browse files
deactivated terraform-apply until the corresponding AzureAD SP has sufficient rights
1 parent c98db51 commit b4dbb86

File tree

1 file changed

+9
-14
lines changed

1 file changed

+9
-14
lines changed

.github/workflows/terraform.yaml

Lines changed: 9 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -74,12 +74,6 @@ jobs:
7474
- name: Checkout
7575
uses: actions/checkout@v2
7676

77-
- name: Setup Terraform
78-
uses: hashicorp/setup-terraform@v1
79-
with:
80-
# terraform_version: 0.13.0:
81-
cli_config_credentials_token: ${{ secrets.TF_API_TOKEN }}
82-
8377
- name: Terraform Format
8478
id: fmt
8579
run: terraform -chdir=scripts fmt -check
@@ -97,12 +91,13 @@ jobs:
9791
if: github.event_name == 'pull_request'
9892
run: terraform -chdir=scripts plan -no-color -var "resourcesuffix=dev" -var "backend_account_key=${{ secrets.TF_BACKEND_KEY }}"
9993

94+
# deactivated until the GithubActions-User has correct credentials
10095

101-
- name: Taint the connector instance
102-
if: github.ref == 'refs/heads/main' && github.event_name == 'push'
103-
run: terraform -chdir=scripts taint azurerm_container_group.connector-instance
104-
continue-on-error: true
105-
106-
- name: Terraform Apply
107-
if: github.ref == 'refs/heads/main' && github.event_name == 'push'
108-
run: terraform -chdir=scripts apply -var "resourcesuffix=dev" -var "backend_account_key=${{ secrets.TF_BACKEND_KEY }}" -auto-approve
96+
# - name: Taint the connector instance
97+
# if: github.ref == 'refs/heads/main' && github.event_name == 'push'
98+
# run: terraform -chdir=scripts taint azurerm_container_group.connector-instance
99+
# continue-on-error: true
100+
#
101+
# - name: Terraform Apply
102+
# if: github.ref == 'refs/heads/main' && github.event_name == 'push'
103+
# run: terraform -chdir=scripts apply -var "resourcesuffix=dev" -var "backend_account_key=${{ secrets.TF_BACKEND_KEY }}" -auto-approve

0 commit comments

Comments
 (0)