Skip to content

feat: add project_id to resources in preperation for organisation level api keys#7

Closed
levivannoort wants to merge 3 commits intomainfrom
CLO-4192-changes-to-prepare-for-organisation-level-api-keys
Closed

feat: add project_id to resources in preperation for organisation level api keys#7
levivannoort wants to merge 3 commits intomainfrom
CLO-4192-changes-to-prepare-for-organisation-level-api-keys

Conversation

@levivannoort
Copy link
Copy Markdown
Member

@levivannoort levivannoort commented Apr 10, 2026

What does this PR do?

Add `project_id' to resources in preperation for organisation level api keys. Every resource now carries an optional project_id field (Optional + Computed + RequiresReplace). The resolution order is:

  1. Resource-level project_id (if explicitly set)
  2. Provider-level project_id (default)
  3. Error if neither is set

When organization-level API keys are introduced, no resource-level changes will be needed - users simply start setting project_id per-resource.

Test Plan

Tested against Appwrite Cloud

Related PRs and Issues

N/A.

Have you read the Contributing Guidelines on issues?

Yes

@levivannoort levivannoort changed the title feat: add `project_id' to resources in preperation for organisation level api keys feat: add project_id to resources in preperation for organisation level api keys Apr 10, 2026
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.

1 participant