func NewFmtParser() *FmtParser {
	return &FmtParser{
		Fail: regexp.MustCompile(`(?m)^@@[^@]+@@`),
	}
}
NewFmtParser is FmtParser initialized with its Regexp
package terraform
import (
	"fmt"
	"regexp"
	"strings"
)
type Parser interface {
	Parse(body string) ParseResult
}
type ParseResult struct {
	Result             string
	HasAddOrUpdateOnly bool
	HasDestroy         bool
	HasNoChanges       bool
	HasPlanError       bool
	ExitCode           int
	Error              error
}
type DefaultParser struct {
}
type FmtParser struct {
	Pass *regexp.Regexp
	Fail *regexp.Regexp
}
type PlanParser struct {
	Pass         *regexp.Regexp
	Fail         *regexp.Regexp
	HasDestroy   *regexp.Regexp
	HasNoChanges *regexp.Regexp
}
type ApplyParser struct {
	Pass *regexp.Regexp
	Fail *regexp.Regexp
}
func NewDefaultParser() *DefaultParser {
	return &DefaultParser{}
}