Skip to content

Commit

Permalink
fix: Replace function try() with one() (#9)
Browse files Browse the repository at this point in the history
  • Loading branch information
dhoppe authored Jan 18, 2022
1 parent 5cec4aa commit 39a9e46
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion outputs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,5 @@ output "ipv4_address_public" {

output "ipv4_address_private" {
description = "The private IPv4 address"
value = try(hcloud_server_network.default[0].ip, "")
value = one(hcloud_server_network.default[*].ip)
}
Loading

0 comments on commit 39a9e46

Please sign in to comment.