mirror of
https://github.com/ysoftdevs/terraform-aws-eks.git
synced 2026-03-22 01:19:05 +01:00
feat: Add EKS Fargate support (#1067)
Co-authored-by: Simon Gurcke <simon@gurcke.de> Co-authored-by: Daniel Piddock <33028589+dpiddockcmp@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
571da60aea
commit
0d77e30075
27
modules/fargate/outputs.tf
Normal file
27
modules/fargate/outputs.tf
Normal file
@@ -0,0 +1,27 @@
|
||||
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"
|
||||
}]
|
||||
}
|
||||
Reference in New Issue
Block a user