From 72eecd69298d771d0cf3aed4bdbfdd0599fbfeec Mon Sep 17 00:00:00 2001 From: nellyk <3062772+nellyk@users.noreply.github.com> Date: Fri, 26 Jan 2024 17:24:39 +0000 Subject: [PATCH] review comments --- examples/default/README.md | 2 +- examples/default/main.tf | 2 +- main.tf | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/examples/default/README.md b/examples/default/README.md index 75f991bd..775d8fac 100644 --- a/examples/default/README.md +++ b/examples/default/README.md @@ -45,7 +45,7 @@ module "naming" { # This is required for resource modules resource "azurerm_resource_group" "this" { - location = "eastus" + location = module.regions.regions[random_integer.region_index.result].name name = module.naming.resource_group.name_unique } diff --git a/examples/default/main.tf b/examples/default/main.tf index c9badea3..d329cf07 100644 --- a/examples/default/main.tf +++ b/examples/default/main.tf @@ -39,7 +39,7 @@ module "naming" { # This is required for resource modules resource "azurerm_resource_group" "this" { - location = "eastus" + location = module.regions.regions[random_integer.region_index.result].name name = module.naming.resource_group.name_unique } diff --git a/main.tf b/main.tf index 4933568e..34fff4e0 100644 --- a/main.tf +++ b/main.tf @@ -26,7 +26,7 @@ resource "azurerm_kubernetes_cluster" "this" { # https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/kubernetes_cluster - vnet intergration in preview role_based_access_control_enabled = true sku_tier = "Standard" - tags = merge(var.tags) + tags = var.tags workload_identity_enabled = true default_node_pool {