Pass variables into Terraform IAM Policy Document – Amazon web services
Editing This Question. I'm using Terraform v0.12.9 and I'm trying to conditionally create bucket policies with the custom policy stored as an IAM policy document. data "aws_iam_policy_document" "my_policy" { statement { sid = "IPALLOW" effect = "Deny" actions = ["s3:*"]…