Skip to content

Commit

Permalink
Reorder the outputs to fix tflint issue.
Browse files Browse the repository at this point in the history
  • Loading branch information
lonegunmanb committed Nov 15, 2022
1 parent c593b7c commit aa74580
Showing 1 changed file with 24 additions and 24 deletions.
48 changes: 24 additions & 24 deletions examples/complete/outputs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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" {
Expand All @@ -62,20 +54,28 @@ 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,
module.debianservers.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
}

0 comments on commit aa74580

Please sign in to comment.