Skip to content

feat(provisioner/terraform/tfparse): implement WorkspaceTagDefaultsFromFile #15236

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 14 commits into from
Nov 14, 2024
Merged
Prev Previous commit
Next Next commit
fixup! bench
  • Loading branch information
johnstcn committed Nov 14, 2024
commit a982a749b5870e449a52c16a642a0d1f87d840a8
4 changes: 0 additions & 4 deletions provisioner/terraform/parse.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,6 @@ func (s *server) Parse(sess *provisionersdk.Session, _ *proto.ParseRequest, _ <-
defer span.End()

// Load the module and print any parse errors.
// module, diags := tfconfig.LoadModule(sess.WorkDirectory)
// if diags.HasErrors() {
// }

parser, diags := tfparse.New(sess.WorkDirectory, tfparse.WithLogger(s.logger.Named("tfparse")))
if diags.HasErrors() {
return provisionersdk.ParseErrorf("load module: %s", formatDiagnostics(sess.WorkDirectory, diags))
Expand Down
Loading