Skip to content

Commit

Permalink
Merge pull request #513 from hashicorp/auto-approve-tflocal-run
Browse files Browse the repository at this point in the history
Set tflocal build script to trigger a run with auto apply
  • Loading branch information
sebasslash committed Sep 1, 2022
2 parents acfe682 + db5ccf0 commit 1137df1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/scripts/build-tflocal/main.go
Expand Up @@ -48,6 +48,7 @@ func triggerRun(ctx context.Context, organizationName, workspaceName string) err
IsDestroy: tfe.Bool(false),
Message: tfe.String("Queued nightly from tflocal-cloud GH Actions via go-tfe"),
Workspace: wk,
AutoApply: tfe.Bool(true),
ReplaceAddrs: []string{instanceAddr, tokenAddr},
})
if err != nil {
Expand Down

0 comments on commit 1137df1

Please sign in to comment.