@thomas.solbjor her er "import" av tofu fra ditt repo med justeringer for å tilpasse patterns her. Også minimalisert til å kun opprette cluster, ingen managed services som postgres etc. Ta en titt. Co-authored-by: Danijel Simeunovic <danijel.simeunovic@fortedigital.com> Reviewed-on: #15 Reviewed-by: Danijel Simeunovic <danijel.simeunovic@fortedigital.com> Co-authored-by: Ghost <> Co-committed-by: Ghost <>
17 lines
471 B
HCL
17 lines
471 B
HCL
# ─── Cluster ─────────────────────────────────────────────────────────
|
|
|
|
output "cluster_name" {
|
|
description = "GKE cluster name"
|
|
value = google_container_cluster.main.name
|
|
}
|
|
|
|
output "project_id" {
|
|
description = "GCP project ID"
|
|
value = var.project_id
|
|
}
|
|
|
|
output "region" {
|
|
description = "GCP region"
|
|
value = var.region
|
|
}
|