-
Notifications
You must be signed in to change notification settings - Fork 1k
Expand file tree
/
Copy pathvariables.tf
More file actions
52 lines (43 loc) · 1.43 KB
/
variables.tf
File metadata and controls
52 lines (43 loc) · 1.43 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
# Copyright IBM Corp. 2017, 2025
# SPDX-License-Identifier: MPL-2.0
variable "cluster_name" {
description = "Name of target GKE cluster"
type = string
}
variable "gke_location" {
description = "Location of target GKE cluster"
type = string
}
variable "oidc_audience" {
description = "Audience value as configured in TFC / TFE environment variable"
type = string
default = "kubernetes"
}
variable "odic_issuer_uri" {
description = "Base URL of TFC / TFE endpoint (default to public TFC)"
type = string
default = "https://app.terraform.io"
}
variable "oidc_user_claim" {
description = "Token claim to extract user name from (defaults to 'sub')"
type = string
default = "sub"
}
variable "oidc_group_claim" {
description = "Token claim to extract the group membership from (defaults to 'terraform_organization_name')"
type = string
default = "terraform_organization_name"
}
variable "TFE_CA_cert" {
description = "CA Certificate for the HTTPS API endpoint of TFE"
type = string
default = null
}
variable "rbac_oidc_group_name" {
description = "Name of OIDC group (according to 'oidc_group_claim') to be granted the role designated by 'var.rbac_group_cluster_role'"
type = string
}
variable "rbac_group_cluster_role" {
description = "Kubernetes role to be bound to the OIDC group designated by 'var.rbac_oidc_group_name'"
default = "cluster-admin"
}