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 7eb6c86 commit 473ba5dCopy full SHA for 473ba5d
main.tf
@@ -264,7 +264,7 @@ locals {
264
resource "aws_opensearch_domain_policy" "this" {
265
count = var.create && var.enable_access_policy && (local.create_access_policy || var.access_policies != null) ? 1 : 0
266
267
- domain_name = var.domain_name
+ domain_name = aws_opensearch_domain.this[0].domain_name
268
access_policies = local.create_access_policy ? data.aws_iam_policy_document.this[0].json : var.access_policies
269
}
270
0 commit comments