https://pulumi.com logo
#general
Title
# general
d

damp-honey-93158

12/16/2023, 8:36 AM
Morning! Is there a way to run pulumi CLI command: stack init, and have it also copy the imports of an existing stack file?
i

icy-controller-6092

12/17/2023, 2:27 AM
I think you're looking for
--copy-config-from
? more info here
d

damp-honey-93158

12/18/2023, 1:07 PM
I tried that, and the resulting stack file did not contain the imports statements. I also made sure I updated my pulumi CLI to the latest before giving it a shot.
oh and I forgot - thanks for the reply 🙂