mirror of
https://github.com/terraform-aws-modules/terraform-aws-eks.git
synced 2025-09-09 19:32:58 +08:00
0d77e30075
Co-authored-by: Simon Gurcke <simon@gurcke.de> Co-authored-by: Daniel Piddock <33028589+dpiddockcmp@users.noreply.github.com>
28 lines
795 B
Terraform
28 lines
795 B
Terraform
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 = [{
|
|
worker_role_arn = local.pod_execution_role_arn
|
|
platform = "fargate"
|
|
}]
|
|
}
|