Skip to content

Commit 8ae6e7b

Browse files
committed
Merge remote-tracking branch 'origin/main' into optimize-mc-sleep-statments
2 parents ee6aab0 + 76ffe52 commit 8ae6e7b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

backend/internal/terraform/runner.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,8 @@ func (w *wsWriter) Write(p []byte) (n int, err error) {
9797

9898
func RunTerraform(appconf *config.AppConfig, wsmgr *ws.WebSocketManager, id string, executor TerraformExecutor, target string) error {
9999
bucket := fmt.Sprintf("bucket=%s", appconf.BucketName)
100-
key := fmt.Sprintf("key=%s", "default")
100+
101+
key := fmt.Sprintf("key=%s-%s-tfstate", appconf.Project, appconf.Venue)
101102
region := fmt.Sprintf("region=%s", appconf.AWSRegion)
102103

103104
p := filepath.Join(appconf.Workdir, "workspace")

0 commit comments

Comments
 (0)