We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 60e4bb7 commit 3647c58Copy full SHA for 3647c58
main.tf
@@ -95,7 +95,7 @@ resource "aws_iam_role" "elasticsearch_user" {
95
}
96
97
data "aws_iam_policy_document" "assume_role" {
98
- count = module.this.enabled && var.create_elasticsearch_user_role && (length(var.iam_authorizing_role_arns) > 0 || length(var.iam_role_arns) > 0) ? 1 : 0
+ count = module.this.enabled && var.create_elasticsearch_user_role && (length(var.iam_authorizing_role_arns) > 0 || length(var.iam_role_arns) > 0 || var.iam_irsa_openid_connect_provider_arn != "") ? 1 : 0
99
100
statement {
101
actions = [
0 commit comments