diff --git a/psoautomationk8sovh_20261110_102857.tf b/psoautomationk8sovh_20261110_102857.tf deleted file mode 100644 index 2fc67d2..0000000 --- a/psoautomationk8sovh_20261110_102857.tf +++ /dev/null @@ -1,48 +0,0 @@ -# OVH Managed Kubernetes cluster built from the provisioner catalog module "kubernetes". -# The provisioner rewrites the module source to the OVH submodule and fills the deployment id -# and the cloud account. Cloud credentials come from Vault, never from this file. -# -# Two workarounds for infrastructure-be (checked on main, 2026-10-15): -# 1. infrastructure-be refuses a Terraform script that has no non-empty user data field. -# The unused local below satisfies that check; Terraform ignores unused locals. -# 2. infrastructure-be does not send the requester id Kafka header when provisioning, so the -# catalog placeholder for it cannot be used. infrastructure-be instead replaces the -# special variable name used below with "_". -# Effect: the consumer kubeconfig lands in Vault under that suffixed id. - -locals { - user_data = "I2Nsb3VkLWNvbmZpZwo=" -} - -module "kubernetes" { - source = "{KUBERNETES_SOURCE}" - deployment_id = "{UUID}" - region = "SBG5" - cloud_account = "{CLOUD_ACCOUNT}" - requester_unique_id = "var.simpl_requester_unique_id" - - nodepool_flavor = "b3-8" - nodepool_desired_nodes = 1 - nodepool_min_nodes = 1 - nodepool_max_nodes = 1 -} - -output "cluster_id" { - value = module.kubernetes.cluster_id -} - -output "cluster_name" { - value = module.kubernetes.cluster_name -} - -output "cluster_url" { - value = module.kubernetes.cluster_url -} - -output "cluster_version" { - value = module.kubernetes.cluster_version -} - -output "credentials_ref" { - value = module.kubernetes.credentials_ref -}