outputs.tf 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. output "domain" {
  2. value = "example.com" # Domain name
  3. }
  4. output "folder_id" {
  5. value = "b1gentmqf1ve9uc54nfh" # Folder id where resources will be deployed
  6. }
  7. output "vpc_id" {
  8. value = "enp48c1ndilt42veuw4x" # VPC id where resources will be deployed
  9. }
  10. output "trusted_ip_for_mgmt" {
  11. value = ["A.A.A.A/32", "B.B.B.0/24"] # List of trusted public IP addresses for management of Firezone VM
  12. }
  13. output "firezone" {
  14. value = {
  15. subdomain = "vpn" # Subdomain for Firezone web portal
  16. subnet = "192.168.1.0/24" # Subnet/Mask for Firezone VM
  17. vm_username = "admin" # VM username
  18. admin_email = "admin@example.com" # Admin email (login) for Firezone Web UI
  19. version = "0.7.32" # Firezone version
  20. wg_port = "51820" # WireGuard UDP port to use
  21. }
  22. }
  23. output "postgres" {
  24. value = {
  25. db_ver = "15" # PostgeSQL cluster version
  26. db_user = "dbadmin" # PostgeSQL database user name
  27. db_kc_name = "kc-db" # PostgeSQL Keycloak database name
  28. db_firezone_name = "firezone-db" # PostgeSQL Firezone database name
  29. }
  30. }
  31. output "keycloak" {
  32. value = {
  33. subdomain = "kc" # Subdomain for Keycloak
  34. subnet = "192.168.2.0/24" # Subnet/Mask for Keycloak VM
  35. port = "8443" # Keycloak HTTPS port listener
  36. image_folder_id = "b1g4n62gio32v96mdvrb" # Do not change! Folder ID of Keycloak image
  37. image_name = "keycloak" # Do not change! ID of Keycloak image
  38. vm_username = "admin" # VM username
  39. admin_user = "admin" # Keycloak admin user name
  40. le_cert_name = "kc" # Keycloak certificate name for Yandex Certificate Manager
  41. test_user = { # test user for SSO and VPN verification
  42. name = "user"
  43. email = "user@example.com"
  44. }
  45. }
  46. }