-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow overriding a Pulumi.yaml
s entrypoint
#575
Comments
Because the Pulumi.yaml file demarcates the boundary used when uploading a program to the Pulumi.com service at the moment, we have trouble when a Pulumi program uses "up and over" references. For instance, our customer wants to build a Dockerfile located in some relative path, such as `../../elsewhere/`. To support this, we will allow the Pulumi.yaml file to live somewhere other than the main Pulumi entrypoint. For example, it can live at the root of the repo, while the Pulumi program lives in, say, `infra/`: Pulumi.yaml: name: as-before main: infra/ This fixes #575. Further work can be done here to provide even more flexibility; see #574.
Because the Pulumi.yaml file demarcates the boundary used when uploading a program to the Pulumi.com service at the moment, we have trouble when a Pulumi program uses "up and over" references. For instance, our customer wants to build a Dockerfile located in some relative path, such as `../../elsewhere/`. To support this, we will allow the Pulumi.yaml file to live somewhere other than the main Pulumi entrypoint. For example, it can live at the root of the repo, while the Pulumi program lives in, say, `infra/`: Pulumi.yaml: name: as-before main: infra/ This fixes #575. Further work can be done here to provide even more flexibility; see #574.
Just to make sure I understand how this was implemented in 98ef0c4, we added a new So with That all seems reasonable, but if the e.g. "if |
Correct, if |
In some cases, we want to let the
Pulumi.yaml
file choose a different entrypoint. This will let you locate your Pulumi project file in a different location than the program assets.The text was updated successfully, but these errors were encountered: