rapid-receptionist-28528
12/29/2022, 1:16 PMautomation api
is it possible to retrieve the project name ?
which exists in the pulumi.yaml
?
I have the stack:
const stack = await LocalWorkspace.selectStack(args)
bored-oyster-3147
12/29/2022, 4:33 PMrapid-receptionist-28528
12/29/2022, 5:49 PMbored-oyster-3147
12/29/2022, 5:50 PMrapid-receptionist-28528
12/30/2022, 7:05 AMselect
the stack using some args
it’s true that I can add this info (project name) inside the args
but that make it de-coupled from the name inside the pulumi.yaml
file.
I don’t want to write the name of the project twice. just want to read it from the yaml file.
if I could read the value from the pulumi.yaml
before creating the args
object i would be good also.
again, I’m using automation api.bored-oyster-3147
12/30/2022, 8:36 PM