glamorous-printer-66548
09/21/2018, 12:33 AMinfra
subdirectory. However It’d like to keep the Pulumi.yaml
in the repo root to be able to run pulumi CLI commands in the repo root. However it seems pulumi assumes the package.json to be in the same directory as the Pulumi.yaml and if that’s not the case it crashes with a bunch of errors.
Is there a way to specify in the Pulumi.yaml a custom location of the package.json? Also is there some general docs / schema reference for the Pulumi.yaml ?microscopic-florist-22719
Is there a way to specify in the Pulumi.yaml a custom location of the package.json?Yep! You can set the
main
property to the relative path of the directory that contains your Pulumi program.Also is there some general docs / schema reference for the Pulumi.yaml ?https://pulumi.io/reference/project.html
glamorous-printer-66548
09/21/2018, 12:37 AM