Files
fleet-terraform/gcp/outputs.tf
T
Benjamin Edwards e82cec03eb GCP Terraform refactor (#46)
This is an updated version of the previous [GCP
terraform](https://github.com/fleetdm/fleet/tree/main/infrastructure/dogfood/terraform/gcp)
with more options and updated usage of modules and Cloud Run (v1 -> v2)
which means we were able to ditch the manged VPC connectors (extra cost)
and go with the VPC direct access.

I think now that I have cloud run jobs figured out we'll be able to add
a proper migration addon or module.
2025-07-14 13:03:22 -04:00

90 lines
2.9 KiB
Terraform

output "fleet_application_url" {
description = "The primary URL to access the Fleet application (via the Load Balancer)."
value = module.fleet.fleet_application_url
}
output "load_balancer_ip_address" {
description = "The external IP address of the HTTP(S) Load Balancer."
value = module.fleet.load_balancer_ip_address
}
output "cloud_run_service_name" {
description = "The name of the deployed Fleet Cloud Run service."
value = module.fleet.cloud_run_service_name
}
output "cloud_run_service_location" {
description = "The location of the deployed Fleet Cloud Run service."
value = module.fleet.cloud_run_service_location
}
output "mysql_instance_name" {
description = "The name of the Cloud SQL for MySQL instance."
value = module.fleet.mysql_instance_name
}
output "mysql_instance_connection_name" {
description = "The connection name for the Cloud SQL instance (used by Cloud SQL Proxy)."
value = module.fleet.mysql_instance_connection_name
}
output "redis_instance_name" {
description = "The name of the Memorystore for Redis instance."
value = module.fleet.redis_instance_name
}
output "redis_host" {
description = "The host IP address of the Memorystore for Redis instance."
value = module.fleet.redis_host
}
output "redis_port" {
description = "The port number of the Memorystore for Redis instance."
value = module.fleet.redis_port
}
output "software_installers_bucket_name" {
description = "The name of the GCS bucket for Fleet software installers."
value = module.fleet.software_installers_bucket_name
}
output "software_installers_bucket_url" {
description = "The gsutil URL of the GCS bucket for Fleet software installers."
value = module.fleet.software_installers_bucket_url
}
output "fleet_service_account_email" {
description = "The email address of the service account used by the Fleet Cloud Run service."
value = module.fleet.fleet_service_account_email
}
output "dns_managed_zone_name" {
description = "The name of the Cloud DNS managed zone created for Fleet."
value = module.fleet.dns_managed_zone_name
}
output "dns_managed_zone_name_servers" {
description = "The authoritative name servers for the created Cloud DNS managed zone. Delegate your domain to these."
value = module.fleet.dns_managed_zone_name_servers
}
output "vpc_network_name" {
description = "The name of the VPC network created."
value = module.fleet.vpc_network_name
}
output "vpc_network_self_link" {
description = "The self-link of the VPC network created."
value = module.fleet.vpc_network_self_link
}
output "vpc_subnets_names" {
description = "List of subnet names created in the VPC."
value = module.fleet.vpc_subnets_names
}
output "cloud_router_name" {
description = "The name of the Cloud Router created for NAT."
value = module.fleet.cloud_router_name
}