Is it possible to rename a pulumi project?
# general
m
Is it possible to rename a pulumi project?
m
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
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
Thanks @great-sunset-355, that looks like something worth remembering
m
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