Skip to content

Commit

Permalink
Merge pull request #26 from unity-sds/463
Browse files Browse the repository at this point in the history
Change default terraform file name to something better #463
  • Loading branch information
galenatjpl authored Sep 12, 2024
2 parents 3f75dba + 3f0526b commit 76ffe52
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 76ffe52

Please sign in to comment.