I thought it was supposed to output the JS object basically for copy/pasting.
cool-egg-852
07/25/2019, 7:39 PM
Instead I just got the normal details output when trying this
w
white-balloon-205
07/25/2019, 7:39 PM
No - it shows a Pulumi diff, but does not output the JS for you.
white-balloon-205
07/25/2019, 7:41 PM
You will currently have to ensure you can create a program that describes the same resources. There are many ways to do this. For Terraform, you can use
tf2pulumi
.
Adding a tool to output a minimal language representation of the desired state based on a diff or attempted import is something we are thinking about for the future.
c
cool-egg-852
07/25/2019, 7:41 PM
Ah, I simply misunderstood the video then.
w
white-balloon-205
07/25/2019, 7:46 PM
BTW - just shared another video walkthrough of using
No matter how you like to participate in developer communities, Pulumi wants to meet you there. If you want to meet other Pulumi users to share use-cases and best practices, contribute code or documentation, see us at an event, or just tell a story about something cool you did with Pulumi, you are part of our community.