diff --git a/terraform/subscriptions/s940/c2/common/main.tf b/terraform/subscriptions/s940/c2/common/main.tf index 2b7af2ef..a7c547d4 100644 --- a/terraform/subscriptions/s940/c2/common/main.tf +++ b/terraform/subscriptions/s940/c2/common/main.tf @@ -89,7 +89,6 @@ module "acr" { subnet_id = data.azurerm_subnet.this.id dockercredentials_id = "/subscriptions/${module.config.subscription}/resourceGroups/${module.config.common_resource_group}/providers/Microsoft.ContainerRegistry/registries/radix${module.config.environment}cache/credentialSets/radix-service-account-docker" radix_cr_cicd = module.radix-cr-cicd.azuread_service_principal_id - radix_cr_reader = module.radix-cr-reader.azuread_service_principal_id } module "radix-id-acr-workflows" { @@ -239,18 +238,6 @@ module "radix-cr-cicd" { } } -module "radix-cr-reader" { - source = "../../../modules/app_registration" - display_name = "radix-cr-reader-${module.config.environment}" - service_id = "110327" - owners = keys(jsondecode(data.azurerm_key_vault_secret.radixowners.value)) - expose_API = true - implicit_grant = { - access_token_issuance_enabled = false - id_token_issuance_enabled = true - } -} - output "workspace_id" { value = module.loganalytics.workspace_id } diff --git a/terraform/subscriptions/s940/prod/common/main.tf b/terraform/subscriptions/s940/prod/common/main.tf index 6849d4d3..f93b532d 100644 --- a/terraform/subscriptions/s940/prod/common/main.tf +++ b/terraform/subscriptions/s940/prod/common/main.tf @@ -86,7 +86,6 @@ module "acr" { subnet_id = data.azurerm_subnet.this.id dockercredentials_id = "/subscriptions/${module.config.subscription}/resourceGroups/${module.config.common_resource_group}/providers/Microsoft.ContainerRegistry/registries/radix${module.config.environment}cache/credentialSets/radix-service-account-docker" radix_cr_cicd = module.radix-cr-cicd.azuread_service_principal_id - radix_cr_reader = module.radix-cr-reader.azuread_service_principal_id } module "radix-id-acr-workflows" { @@ -236,18 +235,6 @@ module "radix-cr-cicd" { } } -module "radix-cr-reader" { - source = "../../../modules/app_registration" - display_name = "radix-cr-reader-${module.config.environment}" - service_id = "110327" - owners = keys(jsondecode(data.azurerm_key_vault_secret.radixowners.value)) - expose_API = true - implicit_grant = { - access_token_issuance_enabled = false - id_token_issuance_enabled = true - } -} - output "workspace_id" { value = module.loganalytics.workspace_id } diff --git a/terraform/subscriptions/s941/dev/common/main.tf b/terraform/subscriptions/s941/dev/common/main.tf index eed64c17..f221337f 100644 --- a/terraform/subscriptions/s941/dev/common/main.tf +++ b/terraform/subscriptions/s941/dev/common/main.tf @@ -235,18 +235,6 @@ module "radix-cr-cicd" { } } -module "radix-cr-reader" { - source = "../../../modules/app_registration" - display_name = "radix-cr-reader-${module.config.environment}" - service_id = "110327" - owners = keys(jsondecode(data.azurerm_key_vault_secret.radixowners.value)) - expose_API = true - implicit_grant = { - access_token_issuance_enabled = false - id_token_issuance_enabled = true - } -} - output "workspace_id" { value = module.loganalytics.workspace_id }