Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions aws_irsa/main.tf
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@


module "iam_eks_role" {
source = "./iam-role-for-service-accounts-eks"
role_name = var.iam_role_name
role_policy_arns = { for k, v in var.iam_arns : k => v.arn }
source = "./iam-role-for-service-accounts-eks"
role_name = var.iam_role_name
role_policy_arns = { for k, v in var.iam_arns : k => v.arn }
max_session_duration = var.max_session_duration
oidc_providers = {
one = {
provider_arn = var.eks_oidc_provider_arn
Expand Down
6 changes: 6 additions & 0 deletions aws_irsa/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,10 @@ variable "sa_name" {

variable "eks_oidc_provider_arn" {
type = string
}

variable "max_session_duration" {
description = "Maximum CLI/API session duration in seconds between 3600 and 43200"
type = number
default = 3600
}