Skip to content

Commit

Permalink
Add az login to workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
marvinbuss committed Apr 23, 2024
1 parent 9ed44c7 commit 699cbe6
Show file tree
Hide file tree
Showing 2 changed files with 39 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/_terraformEnvironmentTemplate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,13 @@ jobs:
id: checkout_repository
uses: actions/checkout@v4

# Login to Azure
- name: Azure Login
id: azure_login
uses: azure/login@v1
with:
creds: '{"clientId":"${{ secrets.CLIENT_ID }}","clientSecret":"${{ secrets.CLIENT_SECRET }}","subscriptionId":"${{ inputs.subscription_id }}","tenantId":"${{ inputs.tenant_id }}"}'

# Terraform Init
- name: Terraform Init
id: terraform_init
Expand Down Expand Up @@ -226,6 +233,13 @@ jobs:
id: checkout_repository
uses: actions/checkout@v4

# Login to Azure
- name: Azure Login
id: azure_login
uses: azure/login@v1
with:
creds: '{"clientId":"${{ secrets.CLIENT_ID }}","clientSecret":"${{ secrets.CLIENT_SECRET }}","subscriptionId":"${{ inputs.subscription_id }}","tenantId":"${{ inputs.tenant_id }}"}'

# Terraform Init
- name: Terraform Init
working-directory: ${{ inputs.working_directory }}
Expand Down
25 changes: 25 additions & 0 deletions config/PerfectThymeTech/vars.tfvars
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
location = "germanywestcentral"
environment = "int"
prefix = "sc4"
tags = {}

# Service variables
data_factory_azure_devops_repo = {}
data_factory_global_parameters = {}
kusto_cluster_sku = {
name = "Standard_E2ads_v5",
capacity = 2
}
kusto_cluster_language_extensions = ["PYTHON_3.10.8"]
kusto_cluster_auto_stop_enabled = false
kusto_cluster_purge_enabled = false
kusto_cluster_streaming_ingestion_enabled = false
kusto_cluster_databases = {
operationaldb = {
hot_cache_period = "P7D"
soft_delete_period = "P31D"
}
}

# Monitoring variables
diagnostics_configurations = []

0 comments on commit 699cbe6

Please sign in to comment.