33 lines
956 B
HCL
33 lines
956 B
HCL
# =============================================================================
|
|
# 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
|
|
}
|