rapid-receptionist-28528
01/02/2023, 6:05 PMpulumi config cp [key] [dest]
The result is a new file created with the key.
The key that I’m trying to move is a secret that needs to be decrypted and encrypted.
The filesystem that I’m running the command is as follows
pulumi
prod
dev
running pulumi stack ls from within the prod folder yields the following result
➜ prod git:(master) pulumi stack ls
NAME LAST UPDATE RESOURCE COUNT
stack.prod* 16 minutes ago 1
stack.dev n/a n/a
running pulumi config cp key1 <http://stack.dev|stack.dev>
(key is found in the stack.prod)
does not insert the key into stack the *dev/*Pulumi.stack.dev.yaml, but rather into a newly created file *prod/*Pulumi.stack.dev.yaml
what is the correct way to copy keys from one stack to another when they are not in the same folder?
Thanks!