Channels
welcome
pulumi-cdk
cloudengineering
yaml
blog-posts
localstack
pulumi-ai
package-authoring
general
pulumiup-booth-support
oracle-cloud-infrastructure
learn-pulumi-events
linen
registry
built-with-pulumi
pulumi-cloud
contribex
testingtesting321
hacktoberfest
pulumi-crosscode
content-share
finops
multi-language-hackathon
office-hours
workshops
gitlab
pulumi-kubernetes-operator
jobs
pulumi-deployments
dotnet
aws
golang
announcements
java
pulumiverse
python
install
getting-started
cloudengineering-support
testingtesting123
hackathon-03-19-2020
typescript
google-cloud
contribute
azure
kubernetes
docs
automation-api
status
Powered by
#getting-started
Title
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?
or classes?
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.
Post