Skip to content

Commit

Permalink
Merge pull request #8 from geekcell/feat/accessors
Browse files Browse the repository at this point in the history
fix: concat, not coalesce
  • Loading branch information
janvt authored Aug 21, 2023
2 parents 5afa074 + 174186c commit d42dcf4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion data.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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
)
Expand Down

0 comments on commit d42dcf4

Please sign in to comment.