rapid-receptionist-2852801/02/2023, 6:05 PM
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 config cp [key] [dest]
running pulumi stack ls from within the prod folder yields the following result
pulumi prod dev
➜ prod git:(master) pulumi stack ls NAME LAST UPDATE RESOURCE COUNT stack.prod* 16 minutes ago 1 stack.dev n/a n/a
(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!
pulumi config cp key1 <http://stack.dev|stack.dev>