Skip to content

Commit

Permalink
Change default terraform file name to something better #463
Browse files Browse the repository at this point in the history
  • Loading branch information
jdrodjpl committed Sep 12, 2024
1 parent a9993c0 commit 3f0526b
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 3f0526b

Please sign in to comment.