Skip to content

Commit 4a4f754

Browse files
shanewxythxCode
authored andcommitted
fix: multiple containers share volume locked
1 parent 965084e commit 4a4f754

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ locals {
4343
volume_refer_database_data = {
4444
schema = "docker:localvolumeclaim"
4545
params = {
46-
name = "postgresql"
46+
name = format("%s-%s", local.namespace, local.resource_name)
4747
}
4848
}
4949

0 commit comments

Comments
 (0)