Skip to content

Commit 31bf5ed

Browse files
tags added to all the resources
1 parent 6de3c50 commit 31bf5ed

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

main.tf

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,12 @@ resource "azurerm_network_security_group" "example" {
1313
name = "test-security-group"
1414
location = azurerm_resource_group.example.location
1515
resource_group_name = azurerm_resource_group.example.name
16+
tags = {
17+
CreatedBy = "Devops"
18+
UsedBy = "Testing"
19+
UsedFor = "Testing"
20+
Owner = "IT"
21+
}
1622
}
1723

1824
resource "azurerm_virtual_network" "example" {
@@ -34,6 +40,9 @@ resource "azurerm_virtual_network" "example" {
3440
}
3541

3642
tags = {
37-
environment = "Production"
43+
CreatedBy = "Devops"
44+
UsedBy = "Testing"
45+
UsedFor = "Testing"
46+
Owner = "IT"
3847
}
3948
}

0 commit comments

Comments
 (0)