Skip to content

Commit dbb27cd

Browse files
authored
Merge pull request hashicorp#40 from hashicorp/f-azure-vm
set resource group in modules
2 parents 0c4efce + b6a8c70 commit dbb27cd

File tree

1 file changed

+2
-1
lines changed
  • infrastructure-as-code/azure-vm

1 file changed

+2
-1
lines changed

infrastructure-as-code/azure-vm/main.tf

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ module "windowsserver" {
2020
source = "Azure/compute/azurerm"
2121
version = "1.1.5"
2222
location = "${var.location}"
23+
resource_group_name = "${var.windows_dns_prefix}-rc"
2324
vm_hostname = "pwc-ptfe"
2425
admin_password = "${var.admin_password}"
2526
vm_os_simple = "WindowsServer"
@@ -31,7 +32,7 @@ module "network" {
3132
source = "Azure/network/azurerm"
3233
version = "1.1.1"
3334
location = "${var.location}"
34-
resource_group_name = "terraform-compute"
35+
resource_group_name = "${var.windows_dns_prefix}-rc"
3536
allow_ssh_traffic = true
3637
}
3738

0 commit comments

Comments
 (0)