Files
terraform-aws-eks/modules/fargate/outputs.tf

30 lines
849 B
HCL

output "fargate_profile_ids" {
description = "EKS Cluster name and EKS Fargate Profile names separated by a colon (:)."
value = [for f in aws_eks_fargate_profile.this : f.id]
}
output "fargate_profile_arns" {
description = "Amazon Resource Name (ARN) of the EKS Fargate Profiles."
value = [for f in aws_eks_fargate_profile.this : f.arn]
}
output "iam_role_name" {
description = "IAM role name for EKS Fargate pods"
value = local.pod_execution_role_name
}
output "iam_role_arn" {
description = "IAM role ARN for EKS Fargate pods"
value = local.pod_execution_role_arn
}
output "aws_auth_roles" {
description = "Roles for use in aws-auth ConfigMap"
value = [
for i in range(1) : {
worker_role_arn = local.pod_execution_role_arn
platform = "fargate"
} if local.create_eks
]
}