My preference is to follow the composition root pattern - put components representing logical chunks of infrastructure in separate files and instantiate them in the main file
d
damp-table-85095
09/13/2020, 1:18 AM
If part of my script entails building a docker image and deploying it on some platform, how would you instantiate a component from the main file to get that done? Is there some sort of aggregate component you could create and then instantiate out of main?
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.