Skip to content
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

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

Closed
bpmct opened this issue May 11, 2022 · 0 comments · Fixed by #1382
Closed

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

bpmct opened this issue May 11, 2022 · 0 comments · Fixed by #1382
Assignees
Labels
api Area: API
Milestone

Comments

@bpmct
Copy link
Member

bpmct commented May 11, 2022

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

@bpmct bpmct added the bug 🐛 label May 11, 2022
@bpmct bpmct self-assigned this May 11, 2022
@bpmct bpmct changed the title Bug: Template parse fails EOF, parse source: session shutdown Bug: Template parse with fails EOF, parse source: session shutdown May 11, 2022
@misskniss misskniss added this to the Community MVP milestone Jun 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api Area: API
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants