Skip to content

Failed 'coder create' still says a workspace is created. 🐜 #1335

@sharkymark

Description

@sharkymark

OS Information

  • OS:
  • Browser (if applicable):
  • Architecture:
  • coder --version: 0.5.4

Steps to Reproduce

  1. Try to create a workspace with coder create
  2. In my case, it fails because I had the GCP image name wrong
  3. Fix the image in main.tf, update, and try and create the workspace again
  4. It fails saying the name is already used

Expected

If coder create fails, it should not create a workspace

Actual

coder create fails and a workspace name is registered in the in-memory database

Logs

Screenshot

Screen Shot 2022-05-08 at 11 16 57 AM

Screen Shot 2022-05-08 at 11 17 28 AM

Notes

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

    pFad - Phonifier reborn

    Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

    Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


    Alternative Proxies:

    Alternative Proxy

    pFad Proxy

    pFad v3 Proxy

    pFad v4 Proxy