Join Slack
Powered by
Can I split my Pulumi code into seperate classes/f...
# getting-started
w
witty-vegetable-61961
09/15/2023, 3:09 PM
Can I split my Pulumi code into seperate classes/files (in dotnet)?
s
sparse-optician-70334
09/15/2023, 4:11 PM
is
https://www.pulumi.com/learn/building-with-pulumi/stack-references/
what you mean?
sparse-optician-70334
09/15/2023, 4:11 PM
or classes?
sparse-optician-70334
09/15/2023, 4:11 PM
at least in python this should work
s
salmon-account-74572
09/20/2023, 7:52 PM
I’m not familiar with .NET (are you using C#?), but if the language allows you to put portions of code in separate files and then import/reference those files, then you can absolutely use this functionality when writing a Pulumi program.
Open in Slack
Previous
Next