feat: Add optional list of policy ARNs for attachment to Karpenter IRSA (#2537)

Co-authored-by: Bryant Biggs <bryantbiggs@gmail.com>
This commit is contained in:
Constantin Bugneac
2023-03-28 21:50:40 +01:00
committed by GitHub
parent c013f7bfbc
commit bd387d69fa
4 changed files with 51 additions and 20 deletions

View File

@@ -74,6 +74,12 @@ variable "irsa_tags" {
default = {}
}
variable "policies" {
description = "Policies to attach to the IAM role in `{'static_name' = 'policy_arn'}` format"
type = map(string)
default = {}
}
variable "irsa_tag_key" {
description = "Tag key (`{key = value}`) applied to resources launched by Karpenter through the Karpenter provisioner"
type = string