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

Skip to content

Add license management capability to coderd provider #5

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
Tracked by #9948
johnstcn opened this issue Jun 7, 2024 · 1 comment · Fixed by #99
Closed
Tracked by #9948

Add license management capability to coderd provider #5

johnstcn opened this issue Jun 7, 2024 · 1 comment · Fixed by #99
Milestone

Comments

@johnstcn
Copy link
Member

johnstcn commented Jun 7, 2024

Should allow adding / removing licenses, e.g.:

resource "coderd_license" "license" {
  license = kubernetes_secret.license.data["license.json"]
}
@ethanndickson
Copy link
Member

ethanndickson commented Sep 3, 2024

Terraform doesn't provide us, as provider developers, with a way to require that a specific resource type be created before others. This makes the UX of a license resource kind of awkward - you'd have to apply it before the rest of your config, if any part of that config wants to use enterprise/premium features.

One nicer way to implement it would be making it an optional attribute on the provider itself. I suspect this is what we'll end up going with.

EDIT: I changed my mind on this - Terraform has the depends_on meta-argument for a reason, whilst you might run into trouble if you forget to include it, needing to use depends_on shouldn't be surprising for anyone familiar with Terraform.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants