Skip to content

Commit

Permalink
Allow PutObjectTagging for both production and staging buckets
Browse files Browse the repository at this point in the history
  • Loading branch information
jjnesbitt committed Apr 29, 2024
1 parent 8f0cc56 commit 5de5bf4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion terraform/modules/dandiset_bucket/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ data "aws_iam_policy_document" "dandiset_bucket_owner" {
}

dynamic "statement" {
for_each = var.allow_heroku_put_object ? [1] : []
for_each = (var.allow_cross_account_heroku_put_object || var.allow_heroku_put_object) ? [1] : []
content {

resources = [
Expand Down

0 comments on commit 5de5bf4

Please sign in to comment.