Skip to content

ffddorf/terraform-playground

Repository files navigation

Terraform Example

This is a Terraform setup running with this configuration:

  • State is stored in tfstate.dev
  • Plans and applies run in GitHub Actions
  • State is backed up to Backblaze B2

Local Preview

This setup includes a tool to run speculatives plans for local changes in GitHub Actions so that secrets can be used while planning. This setup is supposed to mimic speculative plans in Terraform Cloud.

Prerequisites:

  • ngrok Account
    • Put your auth token into the NGROK_AUTHTOKEN env var
  • GitHub CLI authenticated
  • Go installed (no binaries yet)

With that set you can run a speculative plan:

go run ./cmd/tf-preview-gh

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published