beeta/terraform/modules/app_server/outputs.tf

34 lines
956 B
Terraform
Raw Permalink Normal View History

2026-01-05 22:54:27 -05:00
# =============================================================================
# App Server Module Outputs
# =============================================================================
output "droplet_id" {
description = "ID of the app server droplet"
value = digitalocean_droplet.app.id
}
output "droplet_urn" {
description = "URN of the app server droplet"
value = digitalocean_droplet.app.urn
}
output "public_ip" {
description = "Public IPv4 address of the app server"
value = digitalocean_droplet.app.ipv4_address
}
output "private_ip" {
description = "Private IPv4 address of the app server (VPC)"
value = digitalocean_droplet.app.ipv4_address_private
}
output "ipv6_address" {
description = "IPv6 address of the app server"
value = digitalocean_droplet.app.ipv6_address
}
output "firewall_id" {
description = "ID of the app server firewall"
value = digitalocean_firewall.app.id
}