From 11afbcb8dd25fd53ec55e6b4a005757059d51bc1 Mon Sep 17 00:00:00 2001 From: Automatic Update Date: Fri, 13 Dec 2024 13:41:48 +0100 Subject: [PATCH] updates --- terraform/subscriptions/s940/c2/post-clusters/velero.tf | 7 ------- .../subscriptions/s940/extmon/post-clusters/velero.tf | 7 +++++++ 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/terraform/subscriptions/s940/c2/post-clusters/velero.tf b/terraform/subscriptions/s940/c2/post-clusters/velero.tf index c5eaf76a8..212de678e 100644 --- a/terraform/subscriptions/s940/c2/post-clusters/velero.tf +++ b/terraform/subscriptions/s940/c2/post-clusters/velero.tf @@ -20,10 +20,3 @@ resource "azurerm_storage_container" "velero" { storage_account_name = "radixvelero${module.config.environment}" container_access_type = "private" # Options: private, blob, container } - -resource "azurerm_storage_container" "velero" { - for_each = module.clusters.oidc_issuer_url - name = each.key - storage_account_name = "radixvelero${module.config.environment}" - container_access_type = "private" # Options: private, blob, container -} diff --git a/terraform/subscriptions/s940/extmon/post-clusters/velero.tf b/terraform/subscriptions/s940/extmon/post-clusters/velero.tf index 3e0db5b1c..212de678e 100644 --- a/terraform/subscriptions/s940/extmon/post-clusters/velero.tf +++ b/terraform/subscriptions/s940/extmon/post-clusters/velero.tf @@ -13,3 +13,10 @@ resource "azurerm_federated_identity_credential" "velero-mi-fedcred" { parent_id = data.azurerm_user_assigned_identity.velero.id resource_group_name = module.config.common_resource_group } + +resource "azurerm_storage_container" "velero" { + for_each = module.clusters.oidc_issuer_url + name = each.key + storage_account_name = "radixvelero${module.config.environment}" + container_access_type = "private" # Options: private, blob, container +}