-
Notifications
You must be signed in to change notification settings - Fork 19
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
Changing git_repository in a project resource forces recreation #105
Comments
Hey, thanks for raising this. It is the intended behaviour at the moment - I haven't added support for linking/unlinking a git_repository without recreating the project. We have the right APIs for linking/unlinking though, so it should be possible to make the terraform provider not delete + recreate the project. |
I'm wondering what those API's are. Looking at the Vercel REST API there is no option to patch the |
At the moment, this should force recreation of the project, as we don't support updating or removing the linked repository. See issue #105 for info on this. However, there is a bug insofar as we don't explicitly flag this as requiring the project to be replaced. This creates an inconsistent plan.
At the moment, this should force recreation of the project, as we don't support updating or removing the linked repository. See issue #105 for info on this. However, there is a bug insofar as we don't explicitly flag this as requiring the project to be replaced. This creates an inconsistent plan.
At the moment, this should force recreation of the project, as we don't support updating or removing the linked repository. See issue #105 for info on this. However, there is a bug insofar as we don't explicitly flag this as requiring the project to be replaced. This creates an inconsistent plan.
At the moment, this should force recreation of the project, as we don't support updating or removing the linked repository. See issue #105 for info on this. However, there is a bug insofar as we don't explicitly flag this as requiring the project to be replaced. This creates an inconsistent plan.
Linking and Unlinking is now supported. Closes #105
Linking and Unlinking is now supported. Closes #105
If you create a project:
And change it to (assuming you actually have the GitHub app setup in the account)
The provider wants to do a delete/create action, rather than an update.
Is this intended? Manually adding the GitHub app to the project and then running the
terraform plan
again showed that the API was able to update the project without recreation.The text was updated successfully, but these errors were encountered: