24 lines
690 B
HCL
24 lines
690 B
HCL
output "droplet_id" {
|
|
description = "ID of the Forgejo droplet"
|
|
value = digitalocean_droplet.forgejo.id
|
|
}
|
|
|
|
output "public_ip" {
|
|
description = "Public IPv4 address of the Forgejo droplet"
|
|
value = digitalocean_droplet.forgejo.ipv4_address
|
|
}
|
|
|
|
output "private_ip" {
|
|
description = "Private IPv4 address of the Forgejo droplet (VPC)"
|
|
value = digitalocean_droplet.forgejo.ipv4_address_private
|
|
}
|
|
|
|
output "urn" {
|
|
description = "URN of the Forgejo droplet"
|
|
value = digitalocean_droplet.forgejo.urn
|
|
}
|
|
|
|
output "dns_record_fqdn" {
|
|
description = "FQDN of the DNS record (if managed)"
|
|
value = var.manage_dns ? digitalocean_record.forgejo[0].fqdn : null
|
|
}
|