Skip to content
This repository has been archived by the owner on May 29, 2024. It is now read-only.

Commit

Permalink
update terraform storage backend values
Browse files Browse the repository at this point in the history
  • Loading branch information
MGTheTrain committed Apr 28, 2024
1 parent 51eca14 commit 8aace85
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/terraform.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,9 @@ jobs:
run: |
terraform init \
-backend-config="subscription_id=${{ env.ARM_SUBSCRIPTION_ID }}" \
-backend-config="storage_account_name=gftfbesbxsa001" \
-backend-config="resource_group_name=gftfbe-sbx-rg001" \
-backend-config="container_name=gftfbesbxsac001" \
-backend-config="storage_account_name=mlopsftwsasbxsa001" \
-backend-config="resource_group_name=mlopsftwsa-sbx-rg001" \
-backend-config="container_name=mlopsftwsasbxsac001" \
-backend-config="key=sbx-k8s-service-deployment/terraform.tfstate"
working-directory: ./terraform/envs/${{ github.event.inputs.ENVIRONMENT }}-k8s-deployment
if: ${{ github.event.inputs.INFRASTRUCTURE_OPERATIONS == 'k8s-service-deploy' || github.event.inputs.INFRASTRUCTURE_OPERATIONS == 'k8s-service-destroy' }}
Expand Down Expand Up @@ -84,9 +84,9 @@ jobs:
run: |
terraform init \
-backend-config="subscription_id=${{ env.ARM_SUBSCRIPTION_ID }}" \
-backend-config="storage_account_name=gftfbesbxsa001" \
-backend-config="resource_group_name=gftfbe-sbx-rg001" \
-backend-config="container_name=gftfbesbxsac001" \
-backend-config="storage_account_name=mlopsftwsasbxsa001" \
-backend-config="resource_group_name=mlopsftwsa-sbx-rg001" \
-backend-config="container_name=mlopsftwsasbxsac001" \
-backend-config="key=sbx-k8s-service-deployment/terraform.tfstate"
terraform output aks_kube_config_list | awk '/^ apiVersion:/,/^ EOT,$/' | sed 's/^ //' > ./config
Expand Down Expand Up @@ -123,9 +123,9 @@ jobs:
run: |
terraform init \
-backend-config="subscription_id=${{ env.ARM_SUBSCRIPTION_ID }}" \
-backend-config="storage_account_name=gftfbesbxsa001" \
-backend-config="resource_group_name=gftfbe-sbx-rg001" \
-backend-config="container_name=gftfbesbxsac001" \
-backend-config="storage_account_name=mlopsftwsasbxsa001" \
-backend-config="resource_group_name=mlopsftwsa-sbx-rg001" \
-backend-config="container_name=mlopsftwsasbxsac001" \
-backend-config="key=sbx-k8s-service-configuration/terraform.tfstate"
working-directory: ./terraform/envs/${{ github.event.inputs.ENVIRONMENT }}-k8s-configuration
- name: Install helm charts
Expand Down

0 comments on commit 8aace85

Please sign in to comment.