Skip to content

Commit

Permalink
update module
Browse files Browse the repository at this point in the history
  • Loading branch information
kumarvna committed Aug 11, 2020
1 parent cef7e02 commit 54f1070
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions examples/windows_virtual_machine/main.tf
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
module "virtual-machine" {
// source = "kumarvna/virtual-machine/azurerm"
//version = "1.0.0"
source = "../../"
source = "kumarvna/virtual-machine/azurerm"
version = "1.0.0"


# Resource Group, location, VNet and Subnet details
resource_group_name = "rg-hub-demo-internal-shared-westeurope-001"
Expand Down
4 changes: 2 additions & 2 deletions output.tf
Original file line number Diff line number Diff line change
Expand Up @@ -37,12 +37,12 @@ output "linux_vm_private_ips" {

output "linux_virtual_machine_ids" {
description = "The resource id's of all Linux Virtual Machine."
value = var.os_flavor == "linux" ? element(concat(azurerm_linux_virtual_machine.linux_vm.*.id, [""]), 0) : null
value = var.os_flavor == "linux" ? concat(azurerm_linux_virtual_machine.linux_vm.*.id, [""]) : null
}

output "windows_virtual_machine_ids" {
description = "The resource id's of all Windows Virtual Machine."
value = var.os_flavor == "windows" ? element(concat(azurerm_windows_virtual_machine.win_vm.*.id, [""]), 0) : null
value = var.os_flavor == "windows" ? concat(azurerm_windows_virtual_machine.win_vm.*.id, [""]) : null
}

output "network_security_group_ids" {
Expand Down

0 comments on commit 54f1070

Please sign in to comment.