Skip to content

Commit

Permalink
Merge pull request #182 from dandi/prod-put-object-tagging
Browse files Browse the repository at this point in the history
Allow PutObjectTagging for both production and staging buckets
  • Loading branch information
jjnesbitt authored Apr 29, 2024
2 parents 8f0cc56 + 5de5bf4 commit d12f963
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 d12f963

Please sign in to comment.