Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Bug: Template parse with fails EOF, parse source: session shutdown #1381

Closed
@bpmct

Description

@bpmct

OS Information

  • OS:

  • Browser (if applicable):

  • Architecture:

  • coder --version:

    Coder v0.5.4+4c35b81 Wed May  4 14:47:48 UTC 2022
    https://github.com/coder/coder/commit/4c35b8174ad0294e8a18016f56abab98a066d71a

Steps to Reproduce

  1. Download Coder on your host, without Terraform installed
  2. Run coder templates init and select any template
  3. Go into the directory for the template
  4. Run coder templates create
  5. Encounter EOF error

Expected

Template is parsed

Actual

> Create and upload "~/apps/downloads/coder/examples/aws-linux"? (yes/no) yes
✔ Queued [438ms]
✔ Setting up [8ms]
✘ Parse parameters [61ms]
run parse: parse source: session shutdown

# or
<provisionerd.go:238>   acquired job    {"initiator_username": "developer", "provisioner": "terraform", "id": "07cac93a-25c2-431b-a4de-9fa449c78d4e"}
2022-05-10 23:58:53.021 [INFO]  <provisionerd.go:352>   unpacking template source archive       {"size_bytes": 4608}
2022-05-10 23:58:53.029 [INFO]  <provisionerd.go:853>   failing running job     {"error_message": "run parse: parse source: session shutdown", "job_id": "07cac93a-25c2-431b-a4de-9fa449c78d4e"}

Logs

Screenshot

Notes

This bug was introduced in an upstream Terraform library: hashicorp/hc-install#56

Metadata

Metadata

Assignees

Labels

apiArea: HTTP API

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions