aboutsummaryrefslogtreecommitdiffstats
path: root/web/outputs.tf
diff options
context:
space:
mode:
authorEugene Triguba <hello@eugenetriguba.com>2026-10-03 11:51:09 -0700
committerEugene Triguba <hello@eugenetriguba.com>2026-10-03 11:51:09 -0700
commita7f735f8d3ff062a35bce5150277ce87157b8e92 (patch)
tree5cd1f8649560133e4a9722bd96c1843ee421580d /web/outputs.tf
parentAdd ipv4 and ipv6 IP to resource creation output (diff)
downloadsite-infra-a7f735f8d3ff062a35bce5150277ce87157b8e92.zip
Split into account/ and web/ workspaces
Diffstat (limited to 'web/outputs.tf')
-rw-r--r--web/outputs.tf9
1 files changed, 9 insertions, 0 deletions
diff --git a/web/outputs.tf b/web/outputs.tf
new file mode 100644
index 0000000..52ca13a
--- /dev/null
+++ b/web/outputs.tf
@@ -0,0 +1,9 @@
+output "server_ipv4" {
+ description = "Public IPv4 address"
+ value = hcloud_server.web01.ipv4_address
+}
+
+output "server_ipv6" {
+ description = "Public IPv6 address"
+ value = hcloud_server.web01.ipv6_address
+}