This repository contains a basic example of how to use Go to execute Terraform commands and test Terraform configurations.
This project demonstrates how to:
- Use Go's
os/exec
package to run Terraform commands. - Write a Go test function to validate Terraform execution.
- Execute Terraform commands such as
init
,plan
, andapply
.
You run a test with go test
or run t