icy-controller-609206/22/2023, 3:06 AM
stuck in the config of some of my stacks so I cannot
them - and I no longer have the source code that was used to bring the stacks up. what's the solution here?
to set the new token, then had to create a blank index.js with a new resource of the same type. After running
pulumi config set --secret
it seems to update the cached token in the remote stack
miniature-musician-3126206/22/2023, 4:07 AM
pulumi config refresh
icy-controller-609206/22/2023, 4:08 AM
to provide newer values, but it still kept trying to use the expired token when deleting resources It was only when I created a dummy resource from the same provider, did the "create" task flush out the expired token from the backend
pulumi config set
2. manually edit state.json 3.
pulumi stack export > state.json
pulumi stack import < state.json
able-thailand-8794307/25/2023, 10:03 AM
and provide the client ID and client Secret as environment variables.