You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 31, 2021. It is now read-only.
Copy file name to clipboardExpand all lines: README.md
+5-4Lines changed: 5 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -80,12 +80,13 @@ Available targets:
80
80
81
81
| Name | Description | Type | Default | Required |
82
82
|------|-------------|:----:|:-----:|:-----:|
83
-
| admin_iam_role_arn | IAM Role with admin permissions to map to `admin_k8s_username`| string |-|yes|
83
+
| admin_iam_role_arn | IAM Role with admin permissions to map to `admin_k8s_username`| string |``|no|
84
84
| admin_k8s_groups | List of Kubernetes groups to be mapped to `admin_iam_role_arn`| list |`<list>`| no |
85
85
| admin_k8s_username | Kubernetes admin username to be mapped to `admin_iam_role_arn`| string | `` | no |
86
-
| cluster_id | A unique-per-cluster identifier to prevent replay attacks. Good choices are a random token or a domain name that will be unique to your cluster | string | - | yes |
87
-
| kube_config_path | Path to the kube config file. Can be sourced from `KUBE_CONFIG` or `KUBECONFIG`| string | - | yes |
88
-
| readonly_iam_role_arn | IAM Role with readonly permissions to map to `readonly_k8s_username`| string | - | yes |
86
+
| cluster_id | A unique-per-cluster identifier to prevent replay attacks. Good choices are a random token or a domain name that will be unique to your cluster | string |`random`| no |
87
+
| enabled | Set to true to enable the module, otherwise it will not create any resources | string |`false`| no |
88
+
| kube_config_path | Path to the kube config file. Can be sourced from `KUBE_CONFIG` or `KUBECONFIG`| string | `` | no |
89
+
| readonly_iam_role_arn | IAM Role with readonly permissions to map to `readonly_k8s_username`| string | `` | no |
89
90
| readonly_k8s_groups | List of Kubernetes groups to be mapped to `readonly_iam_role_arn`| list |`<list>`| no |
90
91
| readonly_k8s_username | Kubernetes readonly username to be mapped to `readonly_iam_role_arn`| string | `` | no |
Copy file name to clipboardExpand all lines: docs/terraform.md
+5-4Lines changed: 5 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,12 +2,13 @@
2
2
3
3
| Name | Description | Type | Default | Required |
4
4
|------|-------------|:----:|:-----:|:-----:|
5
-
| admin_iam_role_arn | IAM Role with admin permissions to map to `admin_k8s_username`| string |-|yes|
5
+
| admin_iam_role_arn | IAM Role with admin permissions to map to `admin_k8s_username`| string |``|no|
6
6
| admin_k8s_groups | List of Kubernetes groups to be mapped to `admin_iam_role_arn`| list |`<list>`| no |
7
7
| admin_k8s_username | Kubernetes admin username to be mapped to `admin_iam_role_arn`| string | `` | no |
8
-
| cluster_id | A unique-per-cluster identifier to prevent replay attacks. Good choices are a random token or a domain name that will be unique to your cluster | string | - | yes |
9
-
| kube_config_path | Path to the kube config file. Can be sourced from `KUBE_CONFIG` or `KUBECONFIG`| string | - | yes |
10
-
| readonly_iam_role_arn | IAM Role with readonly permissions to map to `readonly_k8s_username`| string | - | yes |
8
+
| cluster_id | A unique-per-cluster identifier to prevent replay attacks. Good choices are a random token or a domain name that will be unique to your cluster | string |`random`| no |
9
+
| enabled | Set to true to enable the module, otherwise it will not create any resources | string |`false`| no |
10
+
| kube_config_path | Path to the kube config file. Can be sourced from `KUBE_CONFIG` or `KUBECONFIG`| string | `` | no |
11
+
| readonly_iam_role_arn | IAM Role with readonly permissions to map to `readonly_k8s_username`| string | `` | no |
11
12
| readonly_k8s_groups | List of Kubernetes groups to be mapped to `readonly_iam_role_arn`| list |`<list>`| no |
12
13
| readonly_k8s_username | Kubernetes readonly username to be mapped to `readonly_iam_role_arn`| string | `` | no |
Copy file name to clipboardExpand all lines: variables.tf
+10Lines changed: 10 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -1,16 +1,25 @@
1
+
variable"enabled" {
2
+
type="string"
3
+
description="Set to true to enable the module, otherwise it will not create any resources"
4
+
default="false"
5
+
}
6
+
1
7
variable"cluster_id" {
2
8
type="string"
3
9
description="A unique-per-cluster identifier to prevent replay attacks. Good choices are a random token or a domain name that will be unique to your cluster"
10
+
default="random"
4
11
}
5
12
6
13
variable"kube_config_path" {
7
14
type="string"
8
15
description="Path to the kube config file. Can be sourced from `KUBE_CONFIG` or `KUBECONFIG`"
16
+
default=""
9
17
}
10
18
11
19
variable"admin_iam_role_arn" {
12
20
type="string"
13
21
description="IAM Role with admin permissions to map to `admin_k8s_username`"
22
+
default=""
14
23
}
15
24
16
25
variable"admin_k8s_username" {
@@ -28,6 +37,7 @@ variable "admin_k8s_groups" {
28
37
variable"readonly_iam_role_arn" {
29
38
type="string"
30
39
description="IAM Role with readonly permissions to map to `readonly_k8s_username`"
0 commit comments