Skip to content

Commit

Permalink
fixing references to resource modules
Browse files Browse the repository at this point in the history
  • Loading branch information
donovm4 committed Oct 1, 2024
1 parent 10ffc17 commit e69796b
Show file tree
Hide file tree
Showing 11 changed files with 53 additions and 53 deletions.
6 changes: 3 additions & 3 deletions examples/auto_heal_enabled/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,15 @@ module "naming" {
}

module "avm_res_resources_resourcegroup" {
source = "Azure/avm_res_resources_resourcegroup/azurerm"
source = "Azure/avm-res-resources-resourcegroup/azurerm"
version = "0.1.0"

location = local.azure_regions[random_integer.region_index.result]
name = module.naming.resource_group.name_unique
}

module "avm_res_web_serverfarm" {
source = "Azure/avm_res_web_serverfarm/azurerm"
source = "Azure/avm-res-web-serverfarm/azurerm"
version = "0.2.0"

enable_telemetry = var.enable_telemetry
Expand All @@ -42,7 +42,7 @@ module "avm_res_web_serverfarm" {
module "avm_res_web_site" {
source = "../../"

# source = "Azure/avm_res_web_site/azurerm"
# source = "Azure/avm-res-web-site/azurerm"
# version = "0.11.0"

enable_telemetry = var.enable_telemetry
Expand Down
12 changes: 6 additions & 6 deletions examples/basic_auth/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -19,19 +19,19 @@ module "naming" {
}

module "avm_res_resources_resourcegroup" {
source = "Azure/avm_res_resources_resourcegroup/azurerm"
source = "Azure/avm-res-resources-resourcegroup/azurerm"
version = "0.1.0"

location = local.azure_regions[random_integer.region_index.result]
name = module.naming.resource_group.name_unique
tags = {
module = "Azure/avm_res_resources_resourcegroup/azurerm"
module = "Azure/avm-res-resources-resourcegroup/azurerm"
version = "0.1.0"
}
}

module "avm_res_web_serverfarm" {
source = "Azure/avm_res_web_serverfarm/azurerm"
source = "Azure/avm-res-web-serverfarm/azurerm"
version = "0.2.0"

enable_telemetry = var.enable_telemetry
Expand All @@ -42,13 +42,13 @@ module "avm_res_web_serverfarm" {
os_type = "Windows"

tags = {
module = "Azure/avm_res_web_serverfarm/azurerm"
module = "Azure/avm-res-web-serverfarm/azurerm"
version = "0.2.0"
}
}

module "avm_res_storage_storageaccount" {
source = "Azure/avm_res_storage_storageaccount/azurerm"
source = "Azure/avm-res-storage-storageaccount/azurerm"
version = "0.2.4"

enable_telemetry = var.enable_telemetry
Expand All @@ -63,7 +63,7 @@ module "avm_res_storage_storageaccount" {
}

tags = {
module = "Azure/avm_res_storage_storageaccount/azurerm"
module = "Azure/avm-res-storage-storageaccount/azurerm"
version = "0.2.4"
}

Expand Down
8 changes: 4 additions & 4 deletions examples/custom_domain/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -19,18 +19,18 @@ module "naming" {
}

module "avm_res_resources_resourcegroup" {
source = "Azure/avm_res_resources_resourcegroup/azurerm"
source = "Azure/avm-res-resources-resourcegroup/azurerm"
version = "0.1.0"

location = local.azure_regions[random_integer.region_index.result]
name = module.naming.resource_group.name_unique
tags = {
module = "Azure/avm_res_resources_resourcegroup/azurerm"
module = "Azure/avm-res-resources-resourcegroup/azurerm"
version = "0.1.0"
}
}
module "avm_res_storage_storageaccount" {
source = "Azure/avm_res_storage_storageaccount/azurerm"
source = "Azure/avm-res-storage-storageaccount/azurerm"
version = "0.2.4"

enable_telemetry = var.enable_telemetry
Expand All @@ -46,7 +46,7 @@ module "avm_res_storage_storageaccount" {
}

module "avm_res_web_serverfarm" {
source = "Azure/avm_res_web_serverfarm/azurerm"
source = "Azure/avm-res-web-serverfarm/azurerm"
version = "0.2.0"

enable_telemetry = var.enable_telemetry
Expand Down
12 changes: 6 additions & 6 deletions examples/default/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -19,19 +19,19 @@ module "naming" {
}

module "avm_res_resources_resourcegroup" {
source = "Azure/avm_res_resources_resourcegroup/azurerm"
source = "Azure/avm-res-resources-resourcegroup/azurerm"
version = "0.1.0"

location = local.azure_regions[random_integer.region_index.result]
name = module.naming.resource_group.name_unique
tags = {
module = "Azure/avm_res_resources_resourcegroup/azurerm"
module = "Azure/avm-res-resources-resourcegroup/azurerm"
version = "0.1.0"
}
}

module "avm_res_web_serverfarm" {
source = "Azure/avm_res_web_serverfarm/azurerm"
source = "Azure/avm-res-web-serverfarm/azurerm"
version = "0.2.0"

enable_telemetry = var.enable_telemetry
Expand All @@ -42,13 +42,13 @@ module "avm_res_web_serverfarm" {
os_type = "Windows"

tags = {
module = "Azure/avm_res_web_serverfarm/azurerm"
module = "Azure/avm-res-web-serverfarm/azurerm"
version = "0.2.0"
}
}

module "avm_res_storage_storageaccount" {
source = "Azure/avm_res_storage_storageaccount/azurerm"
source = "Azure/avm-res-storage-storageaccount/azurerm"
version = "0.2.4"

enable_telemetry = var.enable_telemetry
Expand All @@ -63,7 +63,7 @@ module "avm_res_storage_storageaccount" {
}

tags = {
module = "Azure/avm_res_storage_storageaccount/azurerm"
module = "Azure/avm-res-storage-storageaccount/azurerm"
version = "0.2.4"
}

Expand Down
8 changes: 4 additions & 4 deletions examples/deployment_slot_with_interfaces/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,13 @@ module "naming" {
}

module "avm_res_resources_resourcegroup" {
source = "Azure/avm_res_resources_resourcegroup/azurerm"
source = "Azure/avm-res-resources-resourcegroup/azurerm"
version = "0.1.0"

location = local.azure_regions[random_integer.region_index.result]
name = module.naming.resource_group.name_unique
tags = {
module = "Azure/avm_res_resources_resourcegroup/azurerm"
module = "Azure/avm-res-resources-resourcegroup/azurerm"
version = "0.1.0"
}
}
Expand Down Expand Up @@ -57,7 +57,7 @@ resource "azurerm_private_dns_zone_virtual_network_link" "example" {
}

module "avm_res_web_serverfarm" {
source = "Azure/avm_res_web_serverfarm/azurerm"
source = "Azure/avm-res-web-serverfarm/azurerm"
version = "0.2.0"

enable_telemetry = var.enable_telemetry
Expand All @@ -69,7 +69,7 @@ module "avm_res_web_serverfarm" {
}

module "avm_res_storage_storageaccount" {
source = "Azure/avm_res_storage_storageaccount/azurerm"
source = "Azure/avm-res-storage-storageaccount/azurerm"
version = "0.2.4"

enable_telemetry = var.enable_telemetry
Expand Down
12 changes: 6 additions & 6 deletions examples/function_app/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -19,19 +19,19 @@ module "naming" {
}

module "avm_res_resources_resourcegroup" {
source = "Azure/avm_res_resources_resourcegroup/azurerm"
source = "Azure/avm-res-resources-resourcegroup/azurerm"
version = "0.1.0"

location = local.azure_regions[random_integer.region_index.result]
name = module.naming.resource_group.name_unique
tags = {
module = "Azure/avm_res_resources_resourcegroup/azurerm"
module = "Azure/avm-res-resources-resourcegroup/azurerm"
version = "0.1.0"
}
}

module "avm_res_web_serverfarm" {
source = "Azure/avm_res_web_serverfarm/azurerm"
source = "Azure/avm-res-web-serverfarm/azurerm"
version = "0.2.0"

enable_telemetry = var.enable_telemetry
Expand All @@ -42,13 +42,13 @@ module "avm_res_web_serverfarm" {
os_type = "Windows"

tags = {
module = "Azure/avm_res_web_serverfarm/azurerm"
module = "Azure/avm-res-web-serverfarm/azurerm"
version = "0.2.0"
}
}

module "avm_res_storage_storageaccount" {
source = "Azure/avm_res_storage_storageaccount/azurerm"
source = "Azure/avm-res-storage-storageaccount/azurerm"
version = "0.2.4"

enable_telemetry = var.enable_telemetry
Expand All @@ -63,7 +63,7 @@ module "avm_res_storage_storageaccount" {
}

tags = {
module = "Azure/avm_res_storage_storageaccount/azurerm"
module = "Azure/avm-res-storage-storageaccount/azurerm"
version = "0.2.4"
}

Expand Down
12 changes: 6 additions & 6 deletions examples/interfaces/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -26,19 +26,19 @@ module "naming" {
# }

module "avm_res_resources_resourcegroup" {
source = "Azure/avm_res_resources_resourcegroup/azurerm"
source = "Azure/avm-res-resources-resourcegroup/azurerm"
version = "0.1.0"

location = local.azure_regions[random_integer.region_index.result]
name = module.naming.resource_group.name_unique
tags = {
module = "Azure/avm_res_resources_resourcegroup/azurerm"
module = "Azure/avm-res-resources-resourcegroup/azurerm"
version = "0.1.0"
}
}

module "avm_res_storage_storageaccount" {
source = "Azure/avm_res_storage_storageaccount/azurerm"
source = "Azure/avm-res-storage-storageaccount/azurerm"
version = "0.2.4"

enable_telemetry = var.enable_telemetry
Expand All @@ -53,7 +53,7 @@ module "avm_res_storage_storageaccount" {
}

tags = {
module = "Azure/avm_res_storage_storageaccount/azurerm"
module = "Azure/avm-res-storage-storageaccount/azurerm"
version = "0.2.4"
}

Expand Down Expand Up @@ -100,7 +100,7 @@ resource "azurerm_user_assigned_identity" "user" {
}

module "avm_res_web_serverfarm" {
source = "Azure/avm_res_web_serverfarm/azurerm"
source = "Azure/avm-res-web-serverfarm/azurerm"
version = "0.2.0"

enable_telemetry = var.enable_telemetry
Expand All @@ -111,7 +111,7 @@ module "avm_res_web_serverfarm" {
os_type = "Windows"

tags = {
module = "Azure/avm_res_web_serverfarm/azurerm"
module = "Azure/avm-res-web-serverfarm/azurerm"
version = "0.2.0"
}
}
Expand Down
12 changes: 6 additions & 6 deletions examples/ip_restriction/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -20,19 +20,19 @@ module "naming" {

# This is required for resource modules
module "avm_res_resources_resourcegroup" {
source = "Azure/avm_res_resources_resourcegroup/azurerm"
source = "Azure/avm-res-resources-resourcegroup/azurerm"
version = "0.1.0"

location = local.azure_regions[random_integer.region_index.result]
name = module.naming.resource_group.name_unique
tags = {
module = "Azure/avm_res_resources_resourcegroup/azurerm"
module = "Azure/avm-res-resources-resourcegroup/azurerm"
version = "0.1.0"
}
}

module "avm_res_web_serverfarm" {
source = "Azure/avm_res_web_serverfarm/azurerm"
source = "Azure/avm-res-web-serverfarm/azurerm"
version = "0.2.0"

enable_telemetry = var.enable_telemetry
Expand All @@ -43,13 +43,13 @@ module "avm_res_web_serverfarm" {
os_type = "Linux"

tags = {
module = "Azure/avm_res_web_serverfarm/azurerm"
module = "Azure/avm-res-web-serverfarm/azurerm"
version = "0.2.0"
}
}

module "avm_res_storage_storageaccount" {
source = "Azure/avm_res_storage_storageaccount/azurerm"
source = "Azure/avm-res-storage-storageaccount/azurerm"
version = "0.2.4"

enable_telemetry = var.enable_telemetry
Expand All @@ -64,7 +64,7 @@ module "avm_res_storage_storageaccount" {
}

tags = {
module = "Azure/avm_res_storage_storageaccount/azurerm"
module = "Azure/avm-res-storage-storageaccount/azurerm"
version = "0.2.4"
}

Expand Down
8 changes: 4 additions & 4 deletions examples/logs/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -19,19 +19,19 @@ module "naming" {
}

module "avm_res_resources_resourcegroup" {
source = "Azure/avm_res_resources_resourcegroup/azurerm"
source = "Azure/avm-res-resources-resourcegroup/azurerm"
version = "0.1.0"

location = local.azure_regions[random_integer.region_index.result]
name = module.naming.resource_group.name_unique
tags = {
module = "Azure/avm_res_resources_resourcegroup/azurerm"
module = "Azure/avm-res-resources-resourcegroup/azurerm"
version = "0.1.0"
}
}

module "avm_res_web_serverfarm" {
source = "Azure/avm_res_web_serverfarm/azurerm"
source = "Azure/avm-res-web-serverfarm/azurerm"
version = "0.2.0"

enable_telemetry = var.enable_telemetry
Expand All @@ -42,7 +42,7 @@ module "avm_res_web_serverfarm" {
os_type = "Linux"

tags = {
module = "Azure/avm_res_web_serverfarm/azurerm"
module = "Azure/avm-res-web-serverfarm/azurerm"
version = "0.2.0"
}
}
Expand Down
Loading

0 comments on commit e69796b

Please sign in to comment.