diff --git a/modules/terraform/apply.go b/modules/terraform/apply.go index 330fd80d3..0000fc6f0 100644 --- a/modules/terraform/apply.go +++ b/modules/terraform/apply.go @@ -24,10 +24,6 @@ func InitAndApplyE(t testing.TestingT, options *Options) (string, error) { return "", err } - if _, err := GetE(t, options); err != nil { - return "", err - } - return ApplyE(t, options) } diff --git a/modules/terraform/plan.go b/modules/terraform/plan.go index 2e4fdb73a..6248a5fb9 100644 --- a/modules/terraform/plan.go +++ b/modules/terraform/plan.go @@ -21,10 +21,6 @@ func InitAndPlanE(t testing.TestingT, options *Options) (string, error) { return "", err } - if _, err := GetE(t, options); err != nil { - return "", err - } - return PlanE(t, options) } diff --git a/modules/terraform/validate.go b/modules/terraform/validate.go index 3ce200846..7daf6ecbf 100644 --- a/modules/terraform/validate.go +++ b/modules/terraform/validate.go @@ -31,9 +31,5 @@ func InitAndValidateE(t testing.TestingT, options *Options) (string, error) { return "", err } - if _, err := GetE(t, options); err != nil { - return "", err - } - return ValidateE(t, options) }