74
74
- name : Checkout
75
75
uses : actions/checkout@v2
76
76
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
-
83
77
- name : Terraform Format
84
78
id : fmt
85
79
run : terraform -chdir=scripts fmt -check
@@ -97,12 +91,13 @@ jobs:
97
91
if : github.event_name == 'pull_request'
98
92
run : terraform -chdir=scripts plan -no-color -var "resourcesuffix=dev" -var "backend_account_key=${{ secrets.TF_BACKEND_KEY }}"
99
93
94
+ # deactivated until the GithubActions-User has correct credentials
100
95
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