https://pulumi.com logo
#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