diff --git a/data.tf b/data.tf index db6849a..6f3e52e 100644 --- a/data.tf +++ b/data.tf @@ -19,7 +19,7 @@ data "aws_iam_policy_document" "main" { principals { type = "AWS" - identifiers = coalescelist( + identifiers = concat( ["arn:aws:iam::${data.aws_caller_identity.current.account_id}:root"], var.accessors_read_write )