Skip to content

Commit

Permalink
fix: added tags for public ip and windows VM
Browse files Browse the repository at this point in the history
  • Loading branch information
leonidfrolov authored Jan 24, 2024
1 parent b833ed8 commit fdb91c7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ resource "azurerm_public_ip" "this" {
name = local.public_ip
resource_group_name = var.resource_group
location = var.location
tags = var.tags
allocation_method = var.public_ip_allocation_method
}

Expand All @@ -31,6 +32,7 @@ resource "azurerm_network_interface" "this" {
resource "azurerm_windows_virtual_machine" "this" {
name = local.virtual_machine_name
location = var.location
tags = var.tags
resource_group_name = var.resource_group
network_interface_ids = [azurerm_network_interface.this.id]
size = var.vm_size
Expand Down

0 comments on commit fdb91c7

Please sign in to comment.