With the release of Terraform AWS Provider 3.28.0 the aws_iam_policy_document now supports the merging of other aws_iam_policy_documents
via it’s new arguments source_json
and source_policy_documents
. Let us take a look at two common scenarios I often run into and how this new feature can help.