Categorygithub.com/mattmajestic/go-terraform
modulepackage
0.0.0-20240705212321-aa12242d6479
Repository: https://github.com/mattmajestic/go-terraform.git
Documentation: pkg.go.dev

# README

Go Testing of Terraform 🐹

Image of Gopher Interviwing

This repository contains a basic example of how to use Go to execute Terraform commands and test Terraform configurations.

Overview

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, and apply.

Getting Started

You run a test with go test or run t