mirror of
https://github.com/ysoftdevs/terraform-aws-eks.git
synced 2026-01-16 08:37:18 +01:00
* feat: Add support for EKS hybrid nodes * feat: Add support for EKS Auto Mode * chore: Update test directory names * chore: Clean up examples and tests * fix: Clean up and last minute changes for GA * chore: Formatting * chore: Bump min required version for new features * fix: Corrects from test/validation on existing clusters * feat: Add policy for custom tags on EKS Auto Mode, validate examples * chore: Expand on `CAM` acronym * chore: Update README to match examples
38 lines
1.3 KiB
HCL
38 lines
1.3 KiB
HCL
################################################################################
|
|
# Node IAM Role
|
|
################################################################################
|
|
|
|
output "name" {
|
|
description = "The name of the node IAM role"
|
|
value = try(aws_iam_role.this[0].name, null)
|
|
}
|
|
|
|
output "arn" {
|
|
description = "The Amazon Resource Name (ARN) specifying the node IAM role"
|
|
value = try(aws_iam_role.this[0].arn, null)
|
|
}
|
|
|
|
output "unique_id" {
|
|
description = "Stable and unique string identifying the node IAM role"
|
|
value = try(aws_iam_role.this[0].unique_id, null)
|
|
}
|
|
|
|
################################################################################
|
|
# Intermedaite IAM Role
|
|
################################################################################
|
|
|
|
output "intermediate_role_name" {
|
|
description = "The name of the node IAM role"
|
|
value = try(aws_iam_role.intermediate[0].name, null)
|
|
}
|
|
|
|
output "intermediate_role_arn" {
|
|
description = "The Amazon Resource Name (ARN) specifying the node IAM role"
|
|
value = try(aws_iam_role.intermediate[0].arn, null)
|
|
}
|
|
|
|
output "intermediate_role_unique_id" {
|
|
description = "Stable and unique string identifying the node IAM role"
|
|
value = try(aws_iam_role.intermediate[0].unique_id, null)
|
|
}
|