You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think it's unlikely for us to consider another provisioner before a major release (v2.0) which we plan to start work on at the end of the month.
It'd be helpful to know your use case with Pulumi and where Terraform falls short.
Perhaps we could also set up a sync to go over how our provisioner API works and how potentially could be extended if you're open to forking/submitting a PR?
TF can be powerful, but as a DSL it doesn't expose the full native logic available with traditional programming languages, and it's features demand yet-another learning curve. Pulumi brings native programming language expressions to the table as a first-class feature.
And a quick brain dump from a side-convo with @deansheather :
there are some parameters sent to the provisioner
currently the terraform provisioner parses the state and converts it into our GRPC types and ships it off to coder
a new provider would need coder metadata types to send to coder
the stuff send back on complete is mainly a list of Resource (name, type, and agent details if any)
This issue is becoming stale. In order to keep the tracker readable and actionable, I'm going close to this issue in 7 days if there isn't more activity.
This issue is becoming stale. In order to keep the tracker readable and actionable, I'm going close to this issue in 7 days if there isn't more activity.
For the record, we're still interested in doing this but would like to work more closely with the Pulumi team on it. If anyone from there is interested, please reach out to me at ammar@ coder.com.
@hh i would be great to also consider how to allow for caching, current terraform provider downloads modules for each stop and start adding 16 secs or more.
An update here: We recently added support for external workspaces, isn't exactly an additional provisioner but a way to attach externally provisioned workspaces to Coder!
It's currently licensed as Premium, but if there is a strong community use case feel free to reach out.
The reason to support other provisioners would be performance and flexibility.
Currently terraform adds 6-16 seconds delay to getting any workspace. Even pre-builds.
Ideally the enter end to end flow would be a couple seconds. Making it feel nearly instant. Currently end to end can be 16 seconds and up to a minute when things are not bundled in the workspace.
Activity
hh commentedon Oct 13, 2022
I'd like to understand a bit more about the provisioner interface and what's required from it.
bpmct commentedon Oct 13, 2022
I think it's unlikely for us to consider another provisioner before a major release (v2.0) which we plan to start work on at the end of the month.
It'd be helpful to know your use case with Pulumi and where Terraform falls short.
Perhaps we could also set up a sync to go over how our provisioner API works and how potentially could be extended if you're open to forking/submitting a PR?
ammario commentedon Oct 13, 2022
We're considering making the provisioner layer extensible so people can create/bring third-party provisioners that Coder doesn't have to maintain.
usrbinkat commentedon Oct 17, 2022
+1 on Pulumi provider being a valuable effort.
TF can be powerful, but as a DSL it doesn't expose the full native logic available with traditional programming languages, and it's features demand yet-another learning curve. Pulumi brings native programming language expressions to the table as a first-class feature.
hh commentedon Oct 17, 2022
The provisionersdk proto is here isn't terribly complex:
https://github.com/coder/coder/blob/main/provisionersdk/proto/provisioner.proto
And a quick brain dump from a side-convo with @deansheather :
github-actions commentedon Dec 17, 2022
This issue is becoming stale. In order to keep the tracker readable and actionable, I'm going close to this issue in 7 days if there isn't more activity.
deansheather commentedon Dec 25, 2022
Reopening as it's related to a recent ticket.
[-]pulumi workspace provisioner[/-][+]Pulumi workspace provisioner[/+]dirien commentedon Feb 16, 2023
Disclaimer: I work at Pulumi.
Would be nice to have Pulumi support for provisioning too!
Happy to help on this if needed.
github-actions commentedon May 18, 2023
This issue is becoming stale. In order to keep the tracker readable and actionable, I'm going close to this issue in 7 days if there isn't more activity.
4 remaining items
ammario commentedon Dec 4, 2023
For the record, we're still interested in doing this but would like to work more closely with the Pulumi team on it. If anyone from there is interested, please reach out to me at ammar@ coder.com.
hh commentedon Mar 26, 2024
Glad to see fresh eyes on this : 👀
michaelbrewer commentedon Jun 5, 2024
@hh i would be great to also consider how to allow for caching, current terraform provider downloads modules for each stop and start adding 16 secs or more.
[-]Pulumi workspace provisioner[/-][+]Third-party workspace provisioners[/+]bpmct commentedon Sep 26, 2025
An update here: We recently added support for external workspaces, isn't exactly an additional provisioner but a way to attach externally provisioned workspaces to Coder!
It's currently licensed as Premium, but if there is a strong community use case feel free to reach out.
You can learn about external workspaces here: https://coder.com/docs/admin/templates/managing-templates/external-workspaces
michaelbrewer commentedon Sep 26, 2025
The reason to support other provisioners would be performance and flexibility.
Currently terraform adds 6-16 seconds delay to getting any workspace. Even pre-builds.
Ideally the enter end to end flow would be a couple seconds. Making it feel nearly instant. Currently end to end can be 16 seconds and up to a minute when things are not bundled in the workspace.
bpmct commentedon Sep 26, 2025
Yeah. We will be working on near-instant workspaces soon, where workspaces can be provisioned and/or assigned without a TF operation
hh commentedon Sep 26, 2025
Keen on this! ^^