Has anyone looked into maintaining a terraform pro...
# general
r
Has anyone looked into maintaining a terraform provider for Pulumi, especially now that the REST API is available? I'm moving a large terraform codebase over, and being able to access
terraform.state.RemoteStateReference
is lovely, but it only lets me migrate over modules that no other terraform modules depend on (without using SSM as a intermediary step). If I could access Pulumi Stack outputs from Terraform, I would be able to migrate over any terraform module, making it a lot easier to switch over
b
I don't think this is possible without modifying terraform itself. Adding a "terraform" provider is an interesting idea, but I can't see it'd work in practice
g
Not an answer to your question about a TF provider, but you can use Terraform's
external
data source to access Pulumi stack outputs. Here's an example - https://gist.github.com/clstokes/80cddb26e2defd708d499ed0c081d87c.
❤️ 2
r
Thank you both!
g
You're welcome. 😁