https://pulumi.com logo
#pulumi-cloud
Title
# pulumi-cloud
a

ambitious-father-68746

08/22/2022, 10:58 PM
Hi, we're using Pulumi Cloud, but sometimes I feel the need to take a look at the stack directly using some custom CLI tools. I currently use
pulumi stack export
but our stacks can be big and that takes a while. Is there a way to keep a copy of the stack locally? I'm not looking at anything even remotely safe from a concurrent point of view BTW, just some local copy of the stack. Thank you
l

little-cartoon-10569

08/22/2022, 11:22 PM
Stack export is just copying the JSON to the local directory. Is there another feature you'd like added?
a

ambitious-father-68746

08/22/2022, 11:39 PM
No, I just want to avoid having to download the stack files in the first place, because my connection can be really spotty at times and it does add up, specially with big stacks
l

little-cartoon-10569

08/22/2022, 11:41 PM
You can use a local stack file, but that does limit you to running Pulumi from your machine. There is no way to copy the stack to the local machine automatically.
If you want to reduce the risk of your local connection being the problem, then you might consider running from a remote machine instead of your local machine.
a

ambitious-father-68746

08/23/2022, 4:15 PM
Thanks anyway, it's not that big of a deal
I just wondered if maybe some debug option allowed the stack to keep a copy locally before uploading to the Pulumi Cloud
6 Views