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

mysterious-australia-14256

07/22/2021, 3:35 PM
Is it possible to rename a pulumi project?
m

many-yak-61188

07/22/2021, 4:13 PM
one way i can think of doing this is the export the stack create a new project and import the exported stack. there might be better ways to do, i'm only a novice user
👍 1
g

great-sunset-355

07/23/2021, 8:47 AM
I asked the same question myself yesterday and used the same approach as suggested above. I do not think there is a better way to do it. Though one thing I noticed is that
project name
inside URN does not change for the imported stack. e.g. export: project name:
prj-core
"urn": "urn:pulumi:core::prj-core::pulumi:pulumi:Stack::prj-core-core"
import in
prj-dev
when you export now, URN is still the same:
"urn": "urn:pulumi:core::prj-core::pulumi:pulumi:Stack::prj-core-core"
m

mysterious-australia-14256

07/23/2021, 2:13 PM
Thanks @great-sunset-355, that looks like something worth remembering
m

miniature-musician-31262

12/06/2022, 10:18 PM
I know this thread is old, but it was linked from another, so sharing that discussion here as well in case folks go looking for this in the future. https://pulumi-community.slack.com/archives/C84L4E3N1/p1670364866322529?thread_ts=1670272273.920939&cid=C84L4E3N1