from the source code. This happens all the time in AWSX code, I use both options depending on amount of code duplicated, convenience factor, re-usability, etc.
b
busy-umbrella-36067
10/06/2020, 2:05 AM
Its a slight pain, ended up having to recreate
awsx.ec2.Vpc
just to add routes for VPC Peering
l
little-cartoon-10569
10/06/2020, 2:13 AM
You don't have to recreate it. You can use one of the get or find methods to load a reference object.
little-cartoon-10569
10/06/2020, 2:14 AM
Oh wait, ignore that, conflating this question with another one from a few minutes ago 🙂
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.