Skip to content

Commit 7938833

Browse files
committed
[NRL-762] Allow ephemeral perms bucket to be destroyed even when there are files in it
1 parent 5204b15 commit 7938833

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

terraform/infrastructure/ephemeral-resources.tf

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
module "ephemeral-s3-permission-store" {
2-
count = var.use_shared_resources ? 0 : 1
3-
source = "./modules/permissions-store-bucket"
4-
name_prefix = local.prefix
2+
count = var.use_shared_resources ? 0 : 1
3+
source = "./modules/permissions-store-bucket"
4+
name_prefix = local.prefix
5+
enable_bucket_force_destroy = true
56
}
67

78
module "ephemeral-pointers-table" {

0 commit comments

Comments
 (0)