coder / coder/terraform-provider-coderd
Support installing coder and using provider in single terraform apply
- Dominant language
- Go
- Stars
- 29
- Forks
- 13
- Avg merge
- 1d 20h
- Merged PRs (30d)
- 20
Description
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
}
```
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.