# Instance output "postgresql_server_id" { value = module.postgresql.postgresql_server_id } output "postgresql_server_name" { value = module.postgresql.postgresql_server_name } output "postgresql_server_data" { value = module.postgresql.postgresql_data } # Addresses output "postgresql_main_ip" { description = "Address on the main private network. Used by the ansible inventory" value = module.postgresql.postgresql_main_ip } output "postgresql_server_ip" { description = "Address the service listens on" value = module.postgresql.postgresql_server_ip } output "postgresql_port" { value = module.postgresql.postgresql_port } # Dedicated network. Every workspace that deploys a client of the database # needs these output "postgresql_network" { value = module.postgresql.postgresql_network } output "postgresql_network_id" { value = module.postgresql.postgresql_network_id } output "postgresql_subnet" { value = module.postgresql.postgresql_subnet } output "postgresql_subnet_id" { value = module.postgresql.postgresql_subnet_id } output "postgresql_access_security_group_id" { value = module.postgresql.postgresql_access_security_group_id } output "postgresql_client_access_security_group_id" { description = "To be added to the port that a client has in the dedicated network" value = module.postgresql.postgresql_client_access_security_group_id } output "postgresql_client_access_security_group_name" { value = module.postgresql.postgresql_client_access_security_group_name } # Re-exported for convenience of the dependent workspaces and of the ansible # inventory generator output "dns_zone" { value = local.dns_zone }