https://pulumi.com logo
#automation-api
Title
# automation-api
p

proud-pizza-80589

12/12/2021, 7:03 PM
Let’s say i have deployed a stack with the automation api, and there are disk size set on a pvc on k8s, is there a way to get the current stored state as json or something? I need to figure out what it is currently, so that when i scale down, i can keep the disk at the original level since scaling down disk is not allowed.
e

elegant-window-55250

12/12/2021, 8:09 PM
You originally set the disk size with Pulumi?
p

proud-pizza-80589

12/13/2021, 9:26 AM
yes
e

elegant-window-55250

12/13/2021, 9:29 AM
You could add the disk size as an output, or use
pulumi stack export
to get the stack file.