mirror of
https://github.com/ysoftdevs/terraform-aws-eks.git
synced 2026-03-22 01:19:05 +01:00
fix: Update examples to show integration and usage of new IRSA submodule (#1882)
This commit is contained in:
6
main.tf
6
main.tf
@@ -183,7 +183,7 @@ data "aws_iam_policy_document" "assume_role_policy" {
|
||||
|
||||
principals {
|
||||
type = "Service"
|
||||
identifiers = ["eks.amazonaws.com"]
|
||||
identifiers = ["eks.${data.aws_partition.current.dns_suffix}"]
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -234,10 +234,6 @@ resource "aws_eks_addon" "this" {
|
||||
]
|
||||
}
|
||||
|
||||
# Note: if an addon needs to be provisioned ahead of a node group users will
|
||||
# need to create the addon outside of this module until a 2nd addon resource is added
|
||||
# to the module (here) that is not dependent on node groups
|
||||
# Or if addon management improves, this dependency can be removed https://github.com/aws/containers-roadmap/issues/1389
|
||||
depends_on = [
|
||||
module.fargate_profile,
|
||||
module.eks_managed_node_group,
|
||||
|
||||
Reference in New Issue
Block a user