I’m trying to run ```pulumi config cp [key] [dest]...
# getting-started
r
I’m trying to run
Copy code
pulumi 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
Copy code
pulumi
   prod
   dev
running pulumi stack ls from within the prod folder yields the following result
Copy code
➜  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!