mirror of
https://github.com/ysoftdevs/terraform-aws-eks.git
synced 2026-02-24 19:44:49 +01:00
43 lines
1.5 KiB
HCL
43 lines
1.5 KiB
HCL
################################################################################
|
|
# IAM Role
|
|
################################################################################
|
|
|
|
output "iam_role_name" {
|
|
description = "The name of the IAM role"
|
|
value = try(aws_iam_role.this[0].name, null)
|
|
}
|
|
|
|
output "iam_role_arn" {
|
|
description = "The Amazon Resource Name (ARN) specifying the IAM role"
|
|
value = try(aws_iam_role.this[0].arn, var.iam_role_arn)
|
|
}
|
|
|
|
output "iam_role_unique_id" {
|
|
description = "Stable and unique string identifying the IAM role"
|
|
value = try(aws_iam_role.this[0].unique_id, null)
|
|
}
|
|
|
|
################################################################################
|
|
# Fargate Profile
|
|
################################################################################
|
|
|
|
output "fargate_profile_arn" {
|
|
description = "Amazon Resource Name (ARN) of the EKS Fargate Profile"
|
|
value = try(aws_eks_fargate_profile.this[0].arn, null)
|
|
}
|
|
|
|
output "fargate_profile_id" {
|
|
description = "EKS Cluster name and EKS Fargate Profile name separated by a colon (`:`)"
|
|
value = try(aws_eks_fargate_profile.this[0].id, null)
|
|
}
|
|
|
|
output "fargate_profile_status" {
|
|
description = "Status of the EKS Fargate Profile"
|
|
value = try(aws_eks_fargate_profile.this[0].status, null)
|
|
}
|
|
|
|
output "fargate_profile_pod_execution_role_arn" {
|
|
description = "Amazon Resource Name (ARN) of the EKS Fargate Profile Pod execution role ARN"
|
|
value = try(aws_eks_fargate_profile.this[0].pod_execution_role_arn, null)
|
|
}
|