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

Skip to content

Bug: coder templates create inside non-terraform directory just hangs #918

Closed
@bpmct

Description

@bpmct

OS Information

  • OS: Ubuntu 20.04

  • Architecture: x64

  • coder --version:

    root@coder-v2:~/coder# coder --version
    Coder v0.4.0+fe23dcd Wed Apr  6 18:12:37 UTC 2022
    https:/github.com/coder/coder/commit/fe23dcd3fcb344efaaccf8b4917e29304392a202
    

Steps to Reproduce

mkdir test
cd test
coder templates create

Expected

Some type of error stating there is no main.tf in the current directory and potentially pointing the user to coder templates init

Actual

root@coder-v2:~/coder# coder templates create
✔ Queued [-11ms]
⧗  Running 

hangs for a long time

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions