-
Notifications
You must be signed in to change notification settings - Fork 772
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Do not destroy the repository when you change the repository name #616
Comments
Unintentional. We should support renaming a repository without having to destroy it. Will track this for the next batch of |
I also changed the local name at the same time, is that probably the cause? Ideally, even if you change both the local name and the repository name, it should not be destroyed. |
Hi, I went ahead and gave this a shot here: #699. Would appreciate any feedback! |
Cool, I will take a look at it when I have much spare time 🙂 |
This is actually quite an old issue and something that was not exactly intentional and more a set of unfortunate set of limitations of the (documented) api. See #55 for more information. I am excited to see this be a thing as I know it's come up a number of times at my org and it was always way more work then it should be to rename a resource. |
Seems like the main issue here is that the I wonder how far we could get by removing the cc: @jcudit |
Removing (or making configurable) the Aiming to land some suggestions on the attached PR to keep it moving. |
I think this issues has been fixed by #699 I've planned out a run, and now I see Unfortunately, I think there are a lot of other resources that reference the repository name, and would be better served by referencing a repository id (#744). From our own usage, we see the following resources planned to be destroyed during a repo rename: I'm assuming I'll need to go through a rename and manual import step instead of a normal terraform apply to resolve this currently. |
Thanks for pointing this out. I'll get #744 prioritized. |
👋 Hey Friends, this issue has been automatically marked as |
Hi @kfcampbell, just curious if there are any updates on this? |
@Caleb-Hoffman according to #55 I think this might be resolved? |
Closing as #55 is closed; please let me know if this is not the case. |
Is this intentional?
The text was updated successfully, but these errors were encountered: