File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11# eks addons
22
3- Deploy a single eks addon to an eks cluster.
4- The main difference with the eks-addons module is thta this module give you more control over the addon,
5- like setting the an IRSA role or an EKS pod identity role.
3+ Deploy a single EKS addon to an EKS cluster.
4+ The main difference from the eks-addons module is that this module gives you more control over the addon,
5+ such as configuring an IRSA role or an EKS pod identity role.
66
77<!-- BEGIN_TF_DOCS -->
88## Requirements
@@ -47,5 +47,5 @@ No modules.
4747
4848| Name | Description |
4949| ------| -------------|
50- | <a name =" output_addon_arns " ></a > [ addon\_ arns ] ( #output\_ addon\_ arns ) | The ARNs of the EKS addons |
50+ | <a name =" output_addon_arn " ></a > [ addon\_ arn ] ( #output\_ addon\_ arn ) | The ARN of the EKS addon |
5151<!-- END_TF_DOCS -->
Original file line number Diff line number Diff line change @@ -4,6 +4,6 @@ resource "aws_eks_addon" "addon" {
44 cluster_name = var. cluster_name
55 configuration_values = var. configuration_values
66 resolve_conflicts = " OVERWRITE"
7- service_account_role_arn = var. service_account_role_arn ? var. service_account_role_arn : null
7+ service_account_role_arn = var. service_account_role_arn != null && var . service_account_role_arn != " " ? var. service_account_role_arn : null
88 tags = local. interpolated_tags
99}
Original file line number Diff line number Diff line change 1- output "addon_arns " {
2- description = " The ARNs of the EKS addons "
3- value = aws_eks_addon. addon [ * ] . arn
1+ output "addon_arn " {
2+ description = " The ARN of the EKS addon "
3+ value = aws_eks_addon. addon . arn
44}
You can’t perform that action at this time.
0 commit comments