Skip to content
This repository was archived by the owner on Sep 9, 2024. It is now read-only.

Commit 3a5ffe1

Browse files
authored
Merge pull request #2 from clouddrove/1.0.0
fix name type
2 parents a99a3bf + 82b5899 commit 3a5ffe1

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

examples/main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@ module "resource_group" {
66
source = "clouddrove/resource-group/azure"
77
version = "1.0.0"
88

9-
label_order = ["name", "environment"]
109
name = "app"
1110
environment = "example"
11+
label_order = ["name", "environment"]
1212
location = "Canada Central"
1313
}
1414

main.tf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ resource "azurerm_public_ip" "pip" {
1212
count = var.create_public_ip ? 1 : 0
1313
allocation_method = "Static"
1414
location = var.location
15-
name = format("%s-NAT-gateway-ip", module.labels.id)
15+
name = format("%s-nat-gateway-ip", module.labels.id)
1616
resource_group_name = var.resource_group_name
1717
zones = var.public_ip_zones
1818
sku = "Standard"
@@ -24,7 +24,7 @@ resource "azurerm_public_ip" "pip" {
2424
resource "azurerm_nat_gateway" "natgw" {
2525
count = var.create_nat_gateway ? 1 : 0
2626
location = var.location
27-
name = format("%s-NAT-gateway", module.labels.id)
27+
name = format("%s-nat-gateway", module.labels.id)
2828
resource_group_name = var.resource_group_name
2929
sku_name = "Standard"
3030
idle_timeout_in_minutes = var.nat_gateway_idle_timeout

0 commit comments

Comments
 (0)