Skip to content

Commit

Permalink
Removes Radix CR Reader
Browse files Browse the repository at this point in the history
  • Loading branch information
Richard87 committed Dec 19, 2024
1 parent 8dbf19b commit a78959b
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 38 deletions.
13 changes: 0 additions & 13 deletions terraform/subscriptions/s940/c2/common/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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" {
Expand Down Expand Up @@ -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
}
Expand Down
13 changes: 0 additions & 13 deletions terraform/subscriptions/s940/prod/common/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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" {
Expand Down Expand Up @@ -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
}
Expand Down
12 changes: 0 additions & 12 deletions terraform/subscriptions/s941/dev/common/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down

0 comments on commit a78959b

Please sign in to comment.