Skip to content

Make shared environment variable project IDs optional - #568

Merged
dglsparsons merged 3 commits into
mainfrom
schniz/shared-envvar-project-ids-optional
Jul 31, 2026
Merged

Make shared environment variable project IDs optional#568
dglsparsons merged 3 commits into
mainfrom
schniz/shared-envvar-project-ids-optional

Conversation

@Schniz

@Schniz Schniz commented Jul 31, 2026

Copy link
Copy Markdown
Contributor

Summary

  • make shared environment variable project_ids optional in the provider schema
  • omit projectId from create/update payloads when not configured
  • preserve imported project IDs in state and add unit coverage

Notes

This happens when you want to use vercel_shared_environment_variable_project_link: the vercel_shared_environment_variable resource will verify that it has no project ids assigned and will crash

@Schniz
Schniz marked this pull request as ready for review July 31, 2026 18:52
@dglsparsons
dglsparsons merged commit f5abffa into main Jul 31, 2026
14 checks passed
@dglsparsons
dglsparsons deleted the schniz/shared-envvar-project-ids-optional branch July 31, 2026 20:00
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.

2 participants