Terraform using Smurf ⚙️
Use smurf stf <command> to run smurf stf commands. Supported commands include:
apply: Apply the changes required to reach the desired state of Terraform Infrastructure.destroy: Destroy the Terraform Infrastructure.drift: Detect drift between state and infrastructure for Terraform.format: Format the Terraform Infrastructure.graph: Generate a visual graph of Terraform resources.init: Initialize Terraform.output: Generate output for the current state of Terraform Infrastructure.plan: Generate and show an execution plan for Terraform.provision: Combination ofinit,plan,apply, andoutputfor Terraform.refresh: Update the state file of your infrastructure.state-list: List resources in the Terraform state.
Using Smurf Terraform in local environment
Suppose you want to init, plan, apply and output for Terraform with one single command-
Using Smurf Helm in GitHub Actions
Smurf Terraform in GitHub Actions for init, validate and apply will look like-