rich-agency-7520708/03/2022, 8:01 AM
limited-rainbow-5165008/03/2022, 8:25 AM
• 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
mammoth-electrician-6452508/03/2022, 8:27 AM
limited-rainbow-5165008/03/2022, 8:28 AM
rich-agency-7520708/03/2022, 8:30 AM
. 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-5165008/03/2022, 8:38 AM
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-7520708/03/2022, 8:40 AM
limited-rainbow-5165008/03/2022, 8:46 AM
rich-agency-7520708/03/2022, 8:50 AM
Is there a way to get Pulumi to generate the code w/o updating stack or cloud resource state?
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-6452508/03/2022, 8:54 AM
rich-agency-7520708/03/2022, 9:03 AM
limited-rainbow-5165008/03/2022, 9:07 AM
rich-agency-7520708/03/2022, 9:10 AM
mammoth-electrician-6452508/03/2022, 9:18 AM
rich-agency-7520708/03/2022, 9:21 AM
like the evil "depends on", and code too much verbose.
limited-rainbow-5165008/03/2022, 9:22 AM
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/44
rich-agency-7520708/03/2022, 9:23 AM
limited-rainbow-5165008/03/2022, 9:29 AM
rich-agency-7520708/03/2022, 9:30 AM
limited-rainbow-5165008/03/2022, 9:35 AM
rich-agency-7520708/03/2022, 9:36 AM
limited-rainbow-5165008/03/2022, 9:40 AM
mammoth-electrician-6452508/03/2022, 10:22 AM