feat: Add support for Pod Identity assocation on Karpenter sub-module (#3031)

Co-authored-by: Bryant Biggs <bryantbiggs@gmail.com>
This commit is contained in:
Rodrigo Bersa
2024-05-09 13:57:57 +02:00
committed by GitHub
parent f3299cc63d
commit cfcaf27ac7
6 changed files with 127 additions and 63 deletions

View File

@@ -96,3 +96,17 @@ output "instance_profile_unique" {
description = "Stable and unique string identifying the IAM instance profile"
value = try(aws_iam_instance_profile.this[0].unique_id, null)
}
################################################################################
# Pod Identity
################################################################################
output "namespace" {
description = "Namespace associated with the Karpenter Pod Identity"
value = var.namespace
}
output "service_account" {
description = "Service Account associated with the Karpenter Pod Identity"
value = var.service_account
}