This module creates following resources.
aws_eks_addon
| Name | Version |
|---|---|
| terraform | >= 1.12 |
| aws | >= 6.12 |
| Name | Version |
|---|---|
| aws | 6.21.0 |
| Name | Source | Version |
|---|---|---|
| resource_group | tedilabs/misc/aws//modules/resource-group | ~> 0.12.0 |
| Name | Type |
|---|---|
| aws_eks_addon.this | resource |
| aws_eks_addon_version.default | data source |
| aws_eks_addon_version.latest | data source |
| aws_eks_cluster.this | data source |
| Name | Description | Type | Default | Required |
|---|---|---|---|---|
| cluster_name | (Required) The name of the Amazon EKS cluster to add the EKS add-on to. | string |
n/a | yes |
| name | (Required) The name of the EKS add-on. | string |
n/a | yes |
| addon_version | (Optional) The version of the add-on. If not provided, this is configured with default compatibile version for the respective EKS cluster version. | string |
null |
no |
| configuration | (Optional) The set of configuration values for the add-on. This JSON string value must match the JSON schema derived from describe-addon-configuration. |
string |
null |
no |
| 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.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.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 |
| 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.NONE - Amazon EKS doesn't change the value. The update might fail.OVERWRITE - Amazon EKS overwrites the changed value back to the Amazon EKS default value.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 |
| module_tags_enabled | (Optional) Whether to create AWS Resource Tags for the module informations. | bool |
true |
no |
| 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.(Required) service_account - The name of the Kubernetes service account to associate with the IAM role.(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. |
list(object({ |
[] |
no |
| 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 |
| 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 |
| resource_group | (Optional) A configurations of Resource Group for this module. resource_group as defined below.(Optional) enabled - Whether to create Resource Group to find and group AWS resources which are created by this module. Defaults to true.(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.(Optional) description - The description of Resource Group. Defaults to Managed by Terraform.. |
object({ |
{} |
no |
| 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 |
| tags | (Optional) A map of tags to add to all resources. | map(string) |
{} |
no |
| timeouts | (Optional) How long to wait for the EKS Fargate Profile to be created/updated/deleted. | object({ |
{} |
no |
| Name | Description |
|---|---|
| arn | The ARN of the EKS add-on. |
| cluster_name | The name of the EKS cluster. |
| configuration | The set of configuration values for the add-on. |
| conflict_resolution_strategy_on_create | How to resolve field value conflicts when migrating a self-managed add-on to an EKS add-on. |
| 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. |
| created_at | Date and time in RFC3339 format that the EKS add-on was created. |
| default_version | The default version of the EKS add-on compatible with the EKS cluster version. |
| id | The ID of the EKS add-on. |
| is_latest | Whether the EKS add-on version is the latest available. |
| latest_version | The latest version of the EKS add-on compatible with the EKS cluster version. |
| name | The name of the EKS add-on. |
| pod_identity_associations | The list of pod identity associations for the EKS add-on. |
| region | The AWS region this module resources resides in. |
| resource_group | The resource group created to manage resources in this module. |
| service_account_role | The ARN (Amazon Resource Name) of the IAM Role to bind to the add-on's service account |
| updated_at | Date and time in RFC3339 format that the EKS add-on was updated. |
| version | The version of the EKS add-on. |