-
Notifications
You must be signed in to change notification settings - Fork 3
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
Pulumi not able to generate code with convert
when importing TF helm chart from awslabs/data-on-eks
examples
#261
Comments
I downgraded my converter to check: This issue was introduced between v1.0.19 and v1.0.20 of pulumi-converter-terraform |
I took a closer look into this. When converting with v1.0.19, I don't get the If I do a comparison converting to PCL using v1.0.19 and v1.0.23, the v1.0.23 is able to convert much more than v1.0.19, and because it's converting way more, it ends up hitting a new error that we haven't seen before: Here's a comparison: v1.0.19
v1.0.23
The actual error looks similar to an issue the K8s converter was hitting where multi-line strings weren't being emitted in PCL correctly. (See pulumi/pulumi-converter-kubernetes#10 and pulumi/pulumi-converter-kubernetes#5). Should be easy enough for us to find the problem in the generation PCL and reduce it down to a minimal repro. Since this looks like a converter bug, I'll move it to the converter repo |
Sorry, my english was a little ambiguous.
So the converter finished without error in v1.0.19 (I think you saw that too). I got the |
Just adding to this:
I don't think converting to Hope that helps |
What happened?
I'm trying to convert some TF/Helm from awslabs/data-on-eks.
I run the
pulumi convert --from terraform --language python --out pulumistyle --verbose 6
insidedata-on-eks/ai-ml/jupyterhub
and get a code generation error.Error is (full output is at bottom of this issue comment):
Example
Using pulumi/pulumi v3.146.0
git clone https://github.com/awslabs/data-on-eks.git
cd
to theai-ml/jupyterhub
directorypulumi convert --from terraform --language python --out pulumi
Output of
pulumi about
Output of
pulumi about
:Since there is no pulumi project yet, here's the output of
pulumi plugin ls
:Additional context
Complete output of the error (I've removed many duplicate lines from the verbose warnings I got before the error was thrown):
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).
The text was updated successfully, but these errors were encountered: