Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Provide scaffold command #29

Merged
merged 16 commits into from
Jun 30, 2024
Merged

Provide scaffold command #29

merged 16 commits into from
Jun 30, 2024

Conversation

mraerino
Copy link
Member

@mraerino mraerino commented Apr 28, 2024

This implements the CLI command tf-preview-gh scaffold

It will create these files:

  • backend.tf or edit any file that has a terraform { backend { ... } } block in it
  • .github/workflows/tf-run.yaml - workflow for running plans on PRs and applies on main
  • .github/workflows/tf-preview.yaml - workflow for running speculative plans from local machines

@mraerino mraerino self-assigned this Apr 28, 2024
mraerino pushed a commit that referenced this pull request Jun 30, 2024
fix: return existing lockinfo when already locked
@mraerino mraerino force-pushed the feat/scaffold branch 2 times, most recently from db3b097 to 9527147 Compare June 30, 2024 19:03
@mraerino mraerino marked this pull request as ready for review June 30, 2024 19:41
@mraerino mraerino merged commit 95031a4 into main Jun 30, 2024
5 checks passed
@mraerino mraerino deleted the feat/scaffold branch June 30, 2024 19:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant