-
Notifications
You must be signed in to change notification settings - Fork 8
allow for predefined irsa policies #356
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
modules/irsa/variables.tf
Outdated
@@ -100,6 +100,15 @@ variable "use_fips_endpoint" { | |||
default = false | |||
} | |||
|
|||
variable "region" { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can use data "aws_region" "current" {}
instead, no need to pass it through
] | ||
} | ||
] | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
add new line
] | ||
} | ||
] | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
add new line
If you omit
policy
it will try to find it in./modules/irsa/apps-policies/
which allows for predefined policies as well the case where one wants to overwrite the policy or just not use a predefined.when
pod_identity = true
it will create theaws_eks_pod_identity_association
and a different trust policy for the roleroles:
./tf.sh cluster output_json irsa | jq .irsa.value.roles