Open KevinvOosterhout opened 3 weeks ago
Thanks for opening the issue. Moving this issue to the terraform converter repo.
The main issue here is that we don't have a bridged Pulumi providers available for the helm and kubectl providers. There are some things we may want to consider doing here:
In the meantime, to get the converter to succeed, you may need to hack-up your TF code a bit, removing uses of kubectl
and helm
providers, and then manually converting those to Pulumi python.
What happened?
Whilst trying to migrate from Terraform to Pulumi we encountered an issue trying to migrate our HCL to Pulumi Python. We've got a complicated repo with our own modules and the following dependencies. Using terraform we're creating resources on DigitalOcean such as K8s cluster, loadbalancer, DNS, executing helm charts for ArgoCD, Traefik, cert-manager, etc.
Dependencies/Providers
Example
Console output
Output of
pulumi about
pulumi about CLI
Version 3.122.0 Go Version go1.22.4 Go Compiler gc
Host
OS darwin Version 15.0 Arch arm64
Backend
Name pulumi.com URL https://app.pulumi.com/kevinvanoosterhout User kevinvanoosterhout Organizations kevinvanoosterhout, nuxnova Token type personal
Pulumi locates its logs in /var/folders/c2/3z599gmj5pn0k4gx92mcfdpw0000gn/T/ by default warning: Failed to read project: no Pulumi.yaml project file found (searching upwards from /Users/kevin.oosterhout/Projects/NuxNova/Infrastructure/terraform). If you have not created a project yet, use
pulumi new
to do so: no project file found warning: Failed to get information about the current stack: no Pulumi.yaml project file found (searching upwards from /Users/kevin.oosterhout/Projects/NuxNova/Infrastructure/terraform). If you have not created a project yet, usepulumi new
to do so: no project file foundAdditional context
No response
Contributing
Vote on this issue by adding a 👍 reaction. To contribute a fix for this issue, leave a comment (and link to your pull request, if you've opened one already).