File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- data "azurerm_resource_group" "rg" {
2- name = var. resource_group_name
3- }
4-
51data "azuread_client_config" "current" {}
Original file line number Diff line number Diff line change @@ -96,10 +96,10 @@ resource "azuredevops_serviceendpoint_azurecr" "acr_registry_endpoint" {
9696 resource_group = var. resource_group_name
9797 service_endpoint_name = " AzureCR Endpoint"
9898 service_endpoint_authentication_scheme = " WorkloadIdentityFederation"
99- azurecr_spn_tenantid = " 233318cd-0fbb-44eb-9437-4e2681adf87e "
99+ azurecr_spn_tenantid = var . TFC_AZ_TENANT_ID
100100 azurecr_name = var. acr_name
101- azurecr_subscription_id = " 9e3af6ab-6e22-4d23-a3ef-a6e883abe616 "
102- azurecr_subscription_name = " DSB "
101+ azurecr_subscription_id = var . TFC_AZ_SUBSCRIPTION_ID
102+ azurecr_subscription_name = var . TFC_AZ_SUBSCRIPTION_NAME
103103
104104 credentials {
105105 serviceprincipalid = azurerm_user_assigned_identity. this_uaid . client_id
Original file line number Diff line number Diff line change @@ -3,6 +3,7 @@ variable "TFC_AZ_CLIENT_ID" {}
33variable "TFC_AZ_CLIENT_PASSWORD" {}
44variable "TFC_AZ_TENANT_ID" {}
55variable "TFC_AZ_SUBSCRIPTION_ID" {}
6+ variable "TFC_AZ_SUBSCRIPTION_NAME" {}
67variable "TFC_AZ_DEVOPS_ORG_SERVICE_URL" {}
78variable "TFC_AZ_DEVOPS_PAT" {}
89variable "TFC_AZ_DEVOPS_GITHUB_PAT" {}
You can’t perform that action at this time.
0 commit comments