outputs.tf 951 B

12345678910111213141516171819202122232425262728293031323334353637
  1. # SPDX-License-Identifier: Apache-2.0
  2. output "name" {
  3. description = "Droplet name: <layer>-<resource_key or region>-<service>."
  4. value = digitalocean_droplet.edge.name
  5. }
  6. output "droplet_id" {
  7. value = digitalocean_droplet.edge.id
  8. }
  9. output "droplet_urn" {
  10. value = digitalocean_droplet.edge.urn
  11. }
  12. output "doppler_config" {
  13. description = "Name of this service's own Doppler config. Nothing is shared between services."
  14. value = local.doppler_config
  15. }
  16. output "reboot_time" {
  17. value = local.reboot_time
  18. }
  19. output "size" {
  20. value = digitalocean_droplet.edge.size
  21. }
  22. output "reserved_ip" {
  23. description = "The public address that survives a rebuild."
  24. value = digitalocean_reserved_ip.edge.ip_address
  25. }
  26. # What the host firewall was told, as sorted descriptors, so a test and the
  27. # stack can pin the exact set and compare it with the Cloud Firewall's.
  28. output "host_firewall_rules" {
  29. value = local.host_rule_descriptors
  30. }