Channels
announcements
automation-api
aws
azure
blog-posts
built-with-pulumi
cloudengineering
cloudengineering-support
content-share
contribex
contribute
docs
dotnet
finops
general
getting-started
gitlab
golang
google-cloud
hackathon-03-19-2020
hacktoberfest
install
java
jobs
kubernetes
learn-pulumi-events
linen
localstack
multi-language-hackathon
office-hours
oracle-cloud-infrastructure
package-authoring
pulumi-ai
pulumi-cdk
pulumi-cloud
pulumi-crosscode
pulumi-deployments
pulumi-kubernetes-operator
pulumiverse
python
registry
status
testingtesting123
testingtesting321
typescript
welcome
workshops
yaml
Powered by
Title
k
kind-room-82948
02/14/2022, 3:16 PM
Anyone have any recommendations for creating local files, something similar to terraform local file?
https://registry.terraform.io/providers/hashicorp/local/latest/docs/resources/file
Only thing I’ve found so far is using command and echoing
l
little-cartoon-10569
02/14/2022, 7:45 PM
Have you checked out the asset module (
https://www.pulumi.com/docs/reference/pkg/nodejs/pulumi/pulumi/asset/
)? FileAsset may do what you want.
k
kind-room-82948
02/14/2022, 8:18 PM
I think that is for using already created local files unless I’m reading it wrong. The context is I’m trying to generate a file based on pulumi configs that I use during a docker build
2 Views
#general
Join Slack