Skip to content
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

fix(vercel-integration): vercel integration initial sync behavior #2895

Merged
merged 3 commits into from
Dec 19, 2024

Conversation

DanielHougaard
Copy link
Contributor

Description 📣

This PR addresses #431. Currently the Vercel integration will override all secrets in Vercel once a sync from Infisical happens. This means if you have any existing variables outside of Infisical, they will be removed from your Vercel environment variables. This is dangerous, because it can potentially destroy the entire flow of a user's existing setup.

I've added support for two sync behaviors. Overwrite target, and prefer source. As discussed with @maidul98, adding these two is ideal for the time being.

Type ✨

  • Bug fix
  • New feature
  • Improvement
  • Breaking change
  • Documentation

@DanielHougaard DanielHougaard self-assigned this Dec 19, 2024
@DanielHougaard DanielHougaard changed the title fix(vercel-integration): vercel integration sync logic fix(vercel-integration): vercel integration initial sync behavior Dec 19, 2024
@DanielHougaard DanielHougaard merged commit ce5e591 into main Dec 19, 2024
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants