rich-agency-75207
08/03/2022, 8:01 AMlimited-rainbow-51650
08/03/2022, 8:25 AMpulumi preview
or pulumi up
• You don’t have the matching code yet: Pulumi will import the resource into your state with all the actual values, and it will display the code snippet you have to add to your Pulumi program. The values in the generated code are the actual values, so you will not get any diff presented at the next pulumi preview
or pulumi up
.mammoth-electrician-64525
08/03/2022, 8:27 AMlimited-rainbow-51650
08/03/2022, 8:28 AMrich-agency-75207
08/03/2022, 8:30 AMstate
and yaml conversion
. However, it seems to me, that a pulumi import (second bullet point shared by Ringo) would allow me to re-build the source project yaml templates and add the jinja2 conditional code afterwards..limited-rainbow-51650
08/03/2022, 8:38 AMpulumi convert
cli command to convert the YAML to any of our other supported programming languages. This latest conversion is only a conversion of the code without any impact on the Pulumi state at that moment.rich-agency-75207
08/03/2022, 8:40 AMlimited-rainbow-51650
08/03/2022, 8:46 AMrich-agency-75207
08/03/2022, 8:50 AMYou don't have the matching code yet: Pulumi will import the resource into your state with all the actual values, and it will display the code snippet you have to add to your Pulumi program. The values in the generated code are the actual values, so you will not get any diff presented at the next pulumi preview or pulumi up.
Is there a way to get Pulumi to generate the code w/o updating stack or cloud resource state?mammoth-electrician-64525
08/03/2022, 8:54 AMrich-agency-75207
08/03/2022, 9:03 AMlimited-rainbow-51650
08/03/2022, 9:07 AMrich-agency-75207
08/03/2022, 9:10 AMmammoth-electrician-64525
08/03/2022, 9:18 AMrich-agency-75207
08/03/2022, 9:21 AMlike the evil "depends on", and code too much verbose.
👍👍limited-rainbow-51650
08/03/2022, 9:22 AMtf2pulumi
will convert your code, but we are in progress of updating it to support the latest syntax, so we can increase that coverage way beyond the 40%. You can follow up on our public roadmap: https://github.com/orgs/pulumi/projects/44rich-agency-75207
08/03/2022, 9:23 AMlimited-rainbow-51650
08/03/2022, 9:29 AMrich-agency-75207
08/03/2022, 9:30 AMlimited-rainbow-51650
08/03/2022, 9:35 AMrich-agency-75207
08/03/2022, 9:36 AMlimited-rainbow-51650
08/03/2022, 9:40 AMmammoth-electrician-64525
08/03/2022, 10:22 AM