Skip to content
This repository has been archived by the owner on Apr 18, 2023. It is now read-only.

Commit

Permalink
fix(ecs-ipfs): update iam for s3 access
Browse files Browse the repository at this point in the history
  • Loading branch information
v-stickykeys committed Mar 13, 2022
1 parent 8499257 commit b008317
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/ecs/ipfs/iam.tf
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ resource "aws_iam_policy" "main" {

policy = templatefile("${path.module}/templates/s3_policy.json.tpl", {
resource = var.s3_bucket_arn
directory = var.directory_namespace
directory = var.directory_namespace != "" ? var.directory_namespace : "ipfs"
})
}

Expand Down

0 comments on commit b008317

Please sign in to comment.