https://pulumi.com logo
#general
Title
# general
g

gorgeous-country-43026

07/01/2021, 9:38 AM
Any way to easily edit a specific value in state? I have a
RandomUuid
value and everything is working correctly except it was in different value when it was applied to specific service and it stored it into it's database during initial startup. I would like to use that value and change it into Pulumi state so that it gets set correctly elsewhere but still keep the
RandomUuid
so that if and when a new env is setup with Pulumi configs it will get generated as it should
I guess I can do
pulumi stack export > state.json
edit that file and then do
cat state.json | pulumi stack import
but I just wonder if there's a direct way for this
b

billowy-army-68599

07/01/2021, 9:45 AM
this is the best way
g

gorgeous-country-43026

07/01/2021, 9:51 AM
this is the way