fix: Update examples to show integration and usage of new IRSA submodule (#1882)

This commit is contained in:
Bryant Biggs
2022-02-16 15:23:04 -05:00
committed by GitHub
parent 8993d85d25
commit 8de02b9ff4
6 changed files with 136 additions and 105 deletions

View File

@@ -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,