Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/main' into optimize-mc-sleep-sta…
Browse files Browse the repository at this point in the history
…tments
  • Loading branch information
hargitayjpl committed Sep 15, 2024
2 parents ee6aab0 + 76ffe52 commit 8ae6e7b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion backend/internal/terraform/runner.go
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,8 @@ func (w *wsWriter) Write(p []byte) (n int, err error) {

func RunTerraform(appconf *config.AppConfig, wsmgr *ws.WebSocketManager, id string, executor TerraformExecutor, target string) error {
bucket := fmt.Sprintf("bucket=%s", appconf.BucketName)
key := fmt.Sprintf("key=%s", "default")

key := fmt.Sprintf("key=%s-%s-tfstate", appconf.Project, appconf.Venue)
region := fmt.Sprintf("region=%s", appconf.AWSRegion)

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

0 comments on commit 8ae6e7b

Please sign in to comment.