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

Skip to content

Optional external auth blocking workspace create #12719

Closed
@oldsj

Description

@oldsj

When trying the new optional param in coder_external_auth, (with Github) I am unable to create a workspace if I have not authenticated with Github. The blue 'Create Workspace' button does not work, even though all other required parameters have been set.

terraform {
  required_providers {
    coder = {
      source  = "coder/coder"
      version = "0.18.0"
    }
...
data "coder_external_auth" "github" {
  # Matches the ID of the git auth provider in Coder.
  id       = "primary-github"
  optional = true
}
image

Metadata

Metadata

Assignees

Labels

s2Broken use cases or features (with a workaround). Only humans may set this.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions