I’m trying to split up an existing stack, but am r...
# general
d
I’m trying to split up an existing stack, but am running into an issue importing
RandomPassword
resources. Is there a way to transfer a RandomPassword resource from one stack to another? I’m not having much luck with
pulumi import
, and I’m unable to copy the resource from the state file without reencrypting the ciphertext somehow..
g
I reckon one of suggested should work for you
d
I just learned about the
pulumi stack export --show-secrets
flag, which exports the state file using plaintext secrets. I’m then able to copy the decrypted resource into the new stack state file and import it successfully 🙌