Create a Pulumi YAML file with the above content.
Run pulumi convert as above.
Expected Behavior
I would expect my index.ts to look something like this:
import * as pulumi from "@pulumi/pulumi";
const img = new docker.Image("guins-image", {
imageName: "gsaenger/test-yaml:tag1",
skipPush: true,
build: {
context: ".",
dockerfile: "Dockerfile",
}
export const imageName = guinsImage.imageName;
Actual Behavior
Only dependency and package output is generated:
import * as pulumi from "@pulumi/pulumi";
export const imageName = guinsImage.imageName;
Output of pulumi about
n/a
Additional context
PCL also generates only the output block
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).
What happened?
I have a YAML source file:
I ran the following:
Steps to reproduce
Create a Pulumi YAML file with the above content. Run
pulumi convert
as above.Expected Behavior
I would expect my
index.ts
to look something like this:Actual Behavior
Only dependency and package output is generated:
Output of
pulumi about
n/a
Additional context
PCL also generates only the output block
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).