feat(deploy): aibook.fun deploy layer (terraform + ansible + docker on DO)
This commit is contained in:
@@ -0,0 +1,28 @@
|
||||
# aibook-fun - Terraform Outputs
|
||||
# Managed by OpenTofu
|
||||
|
||||
output "droplet_ip" {
|
||||
description = "Droplet IPv4 address (reserved IP)"
|
||||
value = digitalocean_reserved_ip.web.ip_address
|
||||
}
|
||||
|
||||
output "reserved_ip" {
|
||||
description = "Reserved IP address (alias for droplet_ip; stable across rebuilds)"
|
||||
value = digitalocean_reserved_ip.web.ip_address
|
||||
}
|
||||
|
||||
output "droplet_id" {
|
||||
description = "Droplet ID"
|
||||
value = digitalocean_droplet.web.id
|
||||
}
|
||||
|
||||
output "domain" {
|
||||
description = "Primary domain"
|
||||
value = var.domain
|
||||
}
|
||||
|
||||
output "site_url" {
|
||||
description = "Site URL"
|
||||
value = "https://${var.domain}"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user