1.4 KiB
1.4 KiB
| page_title | subcategory | description |
|---|---|---|
| stackit_ske_kubeconfig Resource - stackit | SKE kubeconfig resource schema. Must have a region specified in the provider configuration. |
stackit_ske_kubeconfig (Resource)
SKE kubeconfig resource schema. Must have a region specified in the provider configuration.
Example Usage
resource "stackit_ske_kubeconfig" "example" {
project_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
cluster_name = "example-cluster"
refresh = true
}
Schema
Required
cluster_name(String) Name of the SKE cluster.project_id(String) STACKIT project ID to which the cluster is associated.
Optional
expiration(Number) Expiration time of the kubeconfig, in seconds. Defaults to3600refresh(Boolean) If set to true, the provider will check if the kubeconfig has expired and will generated a new valid one in-place
Read-Only
expires_at(String) Timestamp when the kubeconfig expiresid(String) Terraform's internal resource ID. It is structured as "project_id,cluster_name,kube_config_id".kube_config(String, Sensitive) Raw short-lived admin kubeconfig.kube_config_id(String) Internally generated UUID to identify a kubeconfig resource in Terraform, since the SKE API doesnt return a kubeconfig identifier