File tree Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -156,7 +156,7 @@ locals {
156156 # better controlled by users through Terraform
157157 bootstrap_cluster_creator_admin_permissions = {
158158 cluster_creator = {
159- principal_arn = data.aws_iam_session_context.current.issuer_arn
159+ principal_arn = var.custom_cluster_creator_admin_arn ? var.custom_cluster_creator_admin_arn : data.aws_iam_session_context.current.issuer_arn
160160 type = " STANDARD"
161161
162162 policy_associations = {
Original file line number Diff line number Diff line change @@ -164,6 +164,12 @@ variable "enable_cluster_creator_admin_permissions" {
164164 default = false
165165}
166166
167+ variable "custom_cluster_creator_admin_arn" {
168+ description = " ARN of cluster creator to use instead of current role for access entry administrator"
169+ type = string
170+ default = " "
171+ }
172+
167173# ###############################################################################
168174# KMS Key
169175# ###############################################################################
You can’t perform that action at this time.
0 commit comments