Skip to content

Commit

Permalink
fix: example location
Browse files Browse the repository at this point in the history
  • Loading branch information
matt-FFFFFF committed Apr 8, 2024
1 parent c58ee3d commit a0663e2
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions examples/default/main.tf
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
terraform {
required_version = ">= 1.3.0"
required_version = "~> 1.3"
required_providers {
azurerm = {
source = "hashicorp/azurerm"
version = ">= 3.7.0, < 4.0.0"
version = "~> 3.74"
}
random = {
source = "hashicorp/random"
version = ">= 3.5.0, < 4.0.0"
version = "~> 3.5"
}
}
}
Expand All @@ -21,7 +21,7 @@ provider "azurerm" {
# This allows us to randomize the region for the resource group.
module "regions" {
source = "Azure/regions/azurerm"
version = ">= 0.3.0"
version = "~> 0.3"
}

# This allows us to randomize the region for the resource group.
Expand All @@ -34,7 +34,7 @@ resource "random_integer" "region_index" {
# This ensures we have unique CAF compliant names for our resources.
module "naming" {
source = "Azure/naming/azurerm"
version = ">= 0.3.0"
version = "~> 0.3"
}

# This is required for resource modules
Expand All @@ -51,7 +51,9 @@ module "test" {
source = "../../"
# source = "Azure/avm-<res/ptn>-<name>/azurerm"
# ...
enable_telemetry = var.enable_telemetry # see variables.tf
name = "TODO" # TODO update with module.naming.<RESOURCE_TYPE>.name_unique
location = azurerm_resource_group.this.location
name = "TODO" # TODO update with module.naming.<RESOURCE_TYPE>.name_unique
resource_group_name = azurerm_resource_group.this.name

enable_telemetry = var.enable_telemetry # see variables.tf
}

0 comments on commit a0663e2

Please sign in to comment.