Skip to content

Commit

Permalink
Merge pull request #8 from confidential-containers/mkulke/set-garm-az…
Browse files Browse the repository at this point in the history
…ure-provider-location

garm: use var.location in azure provider config
  • Loading branch information
mkulke authored Jan 10, 2024
2 parents cb7a10f + dd6a254 commit 3ac177c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
location = "eastus2"
location = "{{ env['LOCATION'] }}"

[credentials]
subscription_id = "{{ env['SUBSCRIPTION_ID'] }}"
Expand Down
1 change: 1 addition & 0 deletions github/azure-self-hosted-runners/tf/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ resource "azurerm_container_group" "garm_aci" {
GARM_HOSTNAME = local.fqdn
SUBSCRIPTION_ID = data.azurerm_subscription.current.subscription_id
AZURE_CLIENT_ID = azurerm_user_assigned_identity.garm_id.client_id
LOCATION = var.location
}

secure_environment_variables = {
Expand Down

0 comments on commit 3ac177c

Please sign in to comment.