Skip to content

Commit

Permalink
Update outputs.tf
Browse files Browse the repository at this point in the history
  • Loading branch information
x86-39 authored Apr 10, 2024
1 parent b6ea5d0 commit e88d17c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion outputs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ output "primary_ipv4_address" {
}

output "name" {
value = var.name
value = var.domain != null && var.domain != "" ? "${var.name}.${var.domain}" : var.name
}

output "domain" {
Expand Down

0 comments on commit e88d17c

Please sign in to comment.