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:
Thierno IB. BARRY
2020-11-07 23:03:12 +01:00
committed by GitHub
parent 571da60aea
commit 0d77e30075
14 changed files with 460 additions and 2 deletions

View 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"
}]
}