https://pulumi.com logo
#dotnet
Title
# dotnet
w

witty-vegetable-61961

07/14/2023, 6:47 PM
hi all I want to create reusable modules in Pulumi, like how Terraform code can reference modules. I saw this https://www.pulumi.com/resources/reuse-dont-repeat-creating-an-infrastructure-as-code-module-library/ but can't watch due to tech issues. I assume I can just create a .net program to create an app service for example and then push this to proget and reference it in other pulumi programs/
e

echoing-dinner-19531

07/16/2023, 10:55 AM
If all you care about is C# then yeh, just write a nuget library. If you want to write an infrastructure library that other languages can you use you need to write a "component provider" which isn't yet supported in dotnet.
2 Views