Skip to content

Support installing coder and using provider in single terraform apply #144

@f0ssel

Description

@f0ssel

Currently the provider requires you provide an authentication token on initialization. If you do something like a helm_release of coder, it is currently not possible to also manage resources on the coder installation in the same terraform apply step because you do not have an authentication token yet. You would need to install coder in one step, login or make a new api key, and then run another terraform apply step for the terraform-provider-coderd resources.

Ideally a user can install coder and manage it's resources in the same step by allowing the user to create the "first coder user" and then login with that user for the provider.

One idea of how this could possibly look:

provider "coderd" {
  url   = "coder.example.com"
  email = "admin@coder.com"
  password = "SomeSecurePassword!"
  username = "Admin"
  create_first_user = true
}

Metadata

Metadata

Assignees

Labels

questionFurther information is requested

Projects

No projects

Milestone

No 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