outputs.tf 665 B

1234567891011121314151617181920212223242526
  1. # SPDX-License-Identifier: Apache-2.0
  2. output "instance_id" {
  3. value = digitalocean_droplet.workload.id
  4. }
  5. output "instance_name" {
  6. description = "Droplet name: <layer>-<resource_key or region>-docker."
  7. value = digitalocean_droplet.workload.name
  8. }
  9. output "droplet_urn" {
  10. value = digitalocean_droplet.workload.urn
  11. }
  12. output "private_ip" {
  13. description = "The droplet's VPC address: where the Twingate resources point and the only address Portainer listens on."
  14. value = digitalocean_droplet.workload.ipv4_address_private
  15. }
  16. output "size" {
  17. value = digitalocean_droplet.workload.size
  18. }
  19. output "portainer_port" {
  20. value = var.portainer_port
  21. }