-
Notifications
You must be signed in to change notification settings - Fork 0
/
locals.tf
16 lines (15 loc) · 883 Bytes
/
locals.tf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
locals {
addon_context = {
aws_caller_identity_account_id = data.aws_caller_identity.current.account_id
aws_caller_identity_arn = data.aws_caller_identity.current.arn
aws_region_name = data.aws_region.current.name
eks_cluster_id = data.aws_eks_cluster.eks_cluster.id
aws_eks_cluster_endpoint = data.aws_eks_cluster.eks_cluster.endpoint
eks_oidc_issuer_url = data.aws_eks_cluster.eks_cluster.identity[0].oidc[0].issuer
eks_oidc_provider_arn = replace("${data.aws_eks_cluster.eks_cluster.identity[0].oidc[0].issuer}", "https://", "")
aws_partition_id = data.aws_partition.current.partition
irsa_iam_role_path = var.irsa_iam_role_path
irsa_iam_permissions_boundary = var.irsa_iam_permissions_boundary
tags = var.tags
}
}