Initial commit - realms platform
This commit is contained in:
parent
c590ab6d18
commit
c717c3751c
234 changed files with 74103 additions and 15231 deletions
34
devops/terraform/modules/forgejo/outputs.tf
Normal file
34
devops/terraform/modules/forgejo/outputs.tf
Normal file
|
|
@ -0,0 +1,34 @@
|
|||
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 "volume_id" {
|
||||
description = "ID of the Forgejo volume"
|
||||
value = digitalocean_volume.forgejo.id
|
||||
}
|
||||
|
||||
output "volume_name" {
|
||||
description = "Name of the Forgejo volume"
|
||||
value = digitalocean_volume.forgejo.name
|
||||
}
|
||||
|
||||
output "dns_record_fqdn" {
|
||||
description = "FQDN of the DNS record (if managed)"
|
||||
value = var.manage_dns ? digitalocean_record.forgejo[0].fqdn : null
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue