Quick question: Can I somehow configure the conten...
# general
f
Quick question: Can I somehow configure the contents of the
Pulumi.yaml
file via env variables ? I would like to get a stack output from CI/CD but I don't really want to create a Pulumi.yaml file in the project I'll be running this.
pulumi stack output -s org/project/stack
p
out of curiosity - how is it possible you have a working (I assume) project without Pulumi.yaml file?
f
I have a devops project where i have all pulumi settings. For simplicity lets say that the devops project creates an ECR In another project (git repo), lets call this API, i want to build and push an image to the ECR for this repo. I don't need pulumi for this but I do want to get the dynamic repository URL for it which is exported from the ECR project šŸ™‚
does that make sense ?
p
Oh, I see.
to sum up: you donā€™t actually have a separate pulumi project but you want to get some stack outputs from another one
f
Correct
p
you should be able to get it with:
Copy code
pulumi -s <org-name>/<project-name>/<stack-name> stack output
(assuming your pulumi cli is already authenticated)
wait - you actually wrote the same line above šŸ¤”
didnā€™t it work for you?
f
It did work šŸ˜„ I just posted it here as resolution in case others need it. I found the
--stack
option after i posted
p
Fā€¦ me - I need a break šŸ˜„ Either you edited your message after I posted my question (but thereā€™s no ā€œeditedā€ so you did not) or I really need another ā˜• .
ā¤ļø 1
šŸ˜† 1