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
@@ -44,10 +44,10 @@ This module creates following resources.
44
44
| <aname="input_conflict_resolution_strategy_on_create"></a> [conflict\_resolution\_strategy\_on\_create](#input\_conflict\_resolution\_strategy\_on\_create)| (Optional) How to resolve field value conflicts when migrating a self-managed add-on to an EKS add-on. Valid values are `NONE` and `OVERWRITE`. Defaults to `OVERWRITE`.<br/> `NONE` - If the self-managed version of the add-on is installed on the cluster, Amazon EKS doesn't change the value. Creation of the add-on might fail.<br/> `OVERWRITE` - If the self-managed version of the add-on is installed on your cluster and the Amazon EKS default value is different than the existing value, Amazon EKS changes the value to the Amazon EKS default value. |`string`|`"OVERWRITE"`| no |
45
45
| <aname="input_conflict_resolution_strategy_on_update"></a> [conflict\_resolution\_strategy\_on\_update](#input\_conflict\_resolution\_strategy\_on\_update)| (Optional) How to resolve field value conflicts for an EKS add-on if you've changed a value from the EKS default value. Valid values are `NONE`, `OVERWRITE` and `PRESERVE`. Defaults to `OVERWRITE`.<br/> `NONE` - Amazon EKS doesn't change the value. The update might fail.<br/> `OVERWRITE` - Amazon EKS overwrites the changed value back to the Amazon EKS default value.<br/> `PRESERVE` - Amazon EKS preserves the value. If you choose this option, we recommend that you test any field and value changes on a non-production cluster before updating the add-on on the production cluster. |`string`|`"OVERWRITE"`| no |
46
46
| <aname="input_module_tags_enabled"></a> [module\_tags\_enabled](#input\_module\_tags\_enabled)| (Optional) Whether to create AWS Resource Tags for the module informations. |`bool`|`true`| no |
47
+
| <aname="input_pod_identity_associations"></a> [pod\_identity\_associations](#input\_pod\_identity\_associations)| (Optional) A list of configurations for EKS Pod Identity associations for the add-on. Each block of `pod_identity_association` as defined below.<br/> (Required) `service_account` - The name of the Kubernetes service account to associate with the IAM role.<br/> (Required) `iam_role` - The ARN (Amazon Resource Name) of the IAM role to associate with the Kubernetes service account. The EKS Pod Identity agent manages credentials to assume this role for applications in the containers in the pods that use this service account. | <pre>list(object({<br/> service_account = string<br/> iam_role = string<br/> }))</pre> |`[]`| no |
47
48
| <aname="input_preserve_on_delete"></a> [preserve\_on\_delete](#input\_preserve\_on\_delete)| (Optional) Whether to preserve the created Kubernetes resources on the cluster when deleting the EKS add-on. Defaults to `false`. |`bool`|`false`| no |
48
-
| <aname="input_resource_group_description"></a> [resource\_group\_description](#input\_resource\_group\_description)| (Optional) The description of Resource Group. |`string`|`"Managed by Terraform."`| no |
49
-
| <aname="input_resource_group_enabled"></a> [resource\_group\_enabled](#input\_resource\_group\_enabled)| (Optional) Whether to create Resource Group to find and group AWS resources which are created by this module. |`bool`|`true`| no |
50
-
| <aname="input_resource_group_name"></a> [resource\_group\_name](#input\_resource\_group\_name)| (Optional) The name of Resource Group. A Resource Group name can have a maximum of 127 characters, including letters, numbers, hyphens, dots, and underscores. The name cannot start with `AWS` or `aws`. |`string`|`""`| no |
49
+
| <aname="input_region"></a> [region](#input\_region)| (Optional) The region in which to create the module resources. If not provided, the module resources will be created in the provider's configured region. |`string`|`null`| no |
50
+
| <aname="input_resource_group"></a> [resource\_group](#input\_resource\_group)| (Optional) A configurations of Resource Group for this module. `resource_group` as defined below.<br/> (Optional) `enabled` - Whether to create Resource Group to find and group AWS resources which are created by this module. Defaults to `true`.<br/> (Optional) `name` - The name of Resource Group. A Resource Group name can have a maximum of 127 characters, including letters, numbers, hyphens, dots, and underscores. The name cannot start with `AWS` or `aws`. If not provided, a name will be generated using the module name and instance name.<br/> (Optional) `description` - The description of Resource Group. Defaults to `Managed by Terraform.`. | <pre>object({<br/> enabled = optional(bool, true)<br/> name = optional(string, "")<br/> description = optional(string, "Managed by Terraform.")<br/> })</pre> |`{}`| no |
51
51
| <aname="input_service_account_role"></a> [service\_account\_role](#input\_service\_account\_role)| (Optional) The ARN (Amazon Resource Name) of the IAM Role to bind to the add-on's service account. The role must be assigned the IAM permissions required by the add-on. If you don't specify an existing IAM role, then the add-on uses the permissions assigned to the node IAM role. |`string`|`null`| no |
52
52
| <aname="input_tags"></a> [tags](#input\_tags)| (Optional) A map of tags to add to all resources. |`map(string)`|`{}`| no |
53
53
| <aname="input_timeouts"></a> [timeouts](#input\_timeouts)| (Optional) How long to wait for the EKS Fargate Profile to be created/updated/deleted. | <pre>object({<br/> create = optional(string, "20m")<br/> update = optional(string, "20m")<br/> delete = optional(string, "40m")<br/> })</pre> |`{}`| no |
@@ -58,6 +58,7 @@ This module creates following resources.
58
58
|------|-------------|
59
59
| <aname="output_arn"></a> [arn](#output\_arn)| The ARN of the EKS add-on. |
60
60
| <aname="output_cluster_name"></a> [cluster\_name](#output\_cluster\_name)| The name of the EKS cluster. |
61
+
| <aname="output_configuration"></a> [configuration](#output\_configuration)| The set of configuration values for the add-on. |
61
62
| <aname="output_conflict_resolution_strategy_on_create"></a> [conflict\_resolution\_strategy\_on\_create](#output\_conflict\_resolution\_strategy\_on\_create)| How to resolve field value conflicts when migrating a self-managed add-on to an EKS add-on. |
62
63
| <aname="output_conflict_resolution_strategy_on_update"></a> [conflict\_resolution\_strategy\_on\_update](#output\_conflict\_resolution\_strategy\_on\_update)| How to resolve field value conflicts for an EKS add-on if you've changed a value from the EKS default value. |
63
64
| <aname="output_created_at"></a> [created\_at](#output\_created\_at)| Date and time in RFC3339 format that the EKS add-on was created. |
@@ -66,6 +67,9 @@ This module creates following resources.
66
67
| <aname="output_is_latest"></a> [is\_latest](#output\_is\_latest)| Whether the EKS add-on version is the latest available. |
67
68
| <aname="output_latest_version"></a> [latest\_version](#output\_latest\_version)| The latest version of the EKS add-on compatible with the EKS cluster version. |
68
69
| <aname="output_name"></a> [name](#output\_name)| The name of the EKS add-on. |
70
+
| <aname="output_pod_identity_associations"></a> [pod\_identity\_associations](#output\_pod\_identity\_associations)| The list of pod identity associations for the EKS add-on. |
71
+
| <aname="output_region"></a> [region](#output\_region)| The AWS region this module resources resides in. |
72
+
| <aname="output_resource_group"></a> [resource\_group](#output\_resource\_group)| The resource group created to manage resources in this module. |
69
73
| <aname="output_service_account_role"></a> [service\_account\_role](#output\_service\_account\_role)| The ARN (Amazon Resource Name) of the IAM Role to bind to the add-on's service account |
70
74
| <aname="output_updated_at"></a> [updated\_at](#output\_updated\_at)| Date and time in RFC3339 format that the EKS add-on was updated. |
71
75
| <aname="output_version"></a> [version](#output\_version)| The version of the EKS add-on. |
Copy file name to clipboardExpand all lines: modules/eks-addon/variables.tf
+30-12Lines changed: 30 additions & 12 deletions
Original file line number
Diff line number
Diff line change
@@ -1,3 +1,10 @@
1
+
variable"region" {
2
+
description="(Optional) The region in which to create the module resources. If not provided, the module resources will be created in the provider's configured region."
3
+
type=string
4
+
default=null
5
+
nullable=true
6
+
}
7
+
1
8
variable"cluster_name" {
2
9
description="(Required) The name of the Amazon EKS cluster to add the EKS add-on to."
3
10
type=string
@@ -24,15 +31,6 @@ variable "configuration" {
24
31
nullable=true
25
32
}
26
33
27
-
variable"service_account_role" {
28
-
description=<<EOF
29
-
(Optional) The ARN (Amazon Resource Name) of the IAM Role to bind to the add-on's service account. The role must be assigned the IAM permissions required by the add-on. If you don't specify an existing IAM role, then the add-on uses the permissions assigned to the node IAM role.
(Optional) How to resolve field value conflicts when migrating a self-managed add-on to an EKS add-on. Valid values are `NONE` and `OVERWRITE`. Defaults to `OVERWRITE`.
(Optional) The ARN (Amazon Resource Name) of the IAM Role to bind to the add-on's service account. The role must be assigned the IAM permissions required by the add-on. If you don't specify an existing IAM role, then the add-on uses the permissions assigned to the node IAM role.
80
+
EOF
81
+
type=string
82
+
default=null
83
+
nullable=true
84
+
}
85
+
86
+
variable"pod_identity_associations" {
87
+
description=<<EOF
88
+
(Optional) A list of configurations for EKS Pod Identity associations for the add-on. Each block of `pod_identity_association` as defined below.
89
+
(Required) `service_account` - The name of the Kubernetes service account to associate with the IAM role.
90
+
(Required) `iam_role` - The ARN (Amazon Resource Name) of the IAM role to associate with the Kubernetes service account. The EKS Pod Identity agent manages credentials to assume this role for applications in the containers in the pods that use this service account.
91
+
EOF
92
+
type=list(object({
93
+
service_account =string
94
+
iam_role =string
95
+
}))
96
+
default=[]
97
+
nullable=false
98
+
}
99
+
79
100
variable"timeouts" {
80
101
description="(Optional) How long to wait for the EKS Fargate Profile to be created/updated/deleted."
0 commit comments