https://pulumi.com logo
#getting-started
Title
# getting-started
b

breezy-agency-13977

12/16/2023, 6:40 PM
How can I put my pulumi go folder in a child directory? I have a main.go at the root of my application and it works as expected. I want to move it to my
ci
directory to move it our of my root though. I updated my
pulumi.yaml
to have
main: ci
which lets it use the main.go file in thee ci directory but then it can't find my Dockerfile in the root of my application. How can I have the pulumi config in a ci directory but able to execute with the scope of the parent directory?
e

echoing-dinner-19531

12/18/2023, 9:21 PM
Currently the "working directory" is always the directory with the program in it, not the directory with the Pulumi.yaml. But you should be able to use a relative "../" path.