From aa7458093b05d68aec56fb49cdc28d215f13f231 Mon Sep 17 00:00:00 2001 From: hezijie Date: Tue, 15 Nov 2022 16:36:28 +0800 Subject: [PATCH] Reorder the outputs to fix tflint issue. --- examples/complete/outputs.tf | 48 ++++++++++++++++++------------------ 1 file changed, 24 insertions(+), 24 deletions(-) diff --git a/examples/complete/outputs.tf b/examples/complete/outputs.tf index 24eac6d1..3112c9ba 100644 --- a/examples/complete/outputs.tf +++ b/examples/complete/outputs.tf @@ -36,21 +36,13 @@ output "ubuntu_vm_public_name" { value = module.ubuntuservers.public_ip_dns_name } -output "windows_identity_type" { - value = module.windowsservers.vm_identity -} - -output "windows_ip_address" { - value = module.windowsservers.public_ip_address -} - -output "windows_vm_admin_password" { - sensitive = true - value = local.admin_password -} - -output "windows_vm_public_name" { - value = module.windowsservers.public_ip_dns_name +output "vm_identities" { + value = merge( + module.ubuntuservers.vm_identity, + module.debianservers.vm_identity, + module.debianservers2.vm_identity, + module.windowsservers.vm_identity, + ) } output "vm_ids" { @@ -62,15 +54,6 @@ output "vm_ids" { )) } -output "vm_identities" { - value = merge( - module.ubuntuservers.vm_identity, - module.debianservers.vm_identity, - module.debianservers2.vm_identity, - module.windowsservers.vm_identity, - ) -} - output "vm_zones" { value = merge( module.ubuntuservers.vm_zones, @@ -78,4 +61,21 @@ output "vm_zones" { module.debianservers2.vm_zones, module.windowsservers.vm_zones, ) +} + +output "windows_identity_type" { + value = module.windowsservers.vm_identity +} + +output "windows_ip_address" { + value = module.windowsservers.public_ip_address +} + +output "windows_vm_admin_password" { + sensitive = true + value = local.admin_password +} + +output "windows_vm_public_name" { + value = module.windowsservers.public_ip_dns_name } \ No newline at end of file