Channels
esc
welcome
pulumi-cdk
cloudengineering
yaml
blog-posts
localstack
pulumi-ai
package-authoring
policy-as-code
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
general
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
#general
Title
# general
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
3 Views
Post