Rename resources to litellm_secret_* prefix
ci/woodpecker/pr/build Pipeline was successful
ci/woodpecker/pr/pre-commit Pipeline was successful
ci/woodpecker/pr/test Pipeline was successful

Use the shorter, cleaner litellm_ resource prefix instead of
litellmvaultsecret_. The provider source stays git.unkin.net/unkin/
litellmvaultsecret; only the resource prefix (provider Metadata TypeName)
changes to litellm, declared under the local name litellm in
required_providers — the same pattern google-beta uses to ship google_*.

- Provider TypeName litellmvaultsecret -> litellm
- Resources: litellm_secret_backend, litellm_secret_backend_role
- Update examples (dirs + contents), README, and the e2e terraform config
This commit is contained in:
2026-07-03 12:29:39 +10:00
parent c43e1bf5d4
commit 4e57e2dba7
5 changed files with 27 additions and 20 deletions
+4 -1
View File
@@ -29,7 +29,10 @@ func New(version string) func() provider.Provider {
}
func (p *litellmProvider) Metadata(_ context.Context, _ provider.MetadataRequest, resp *provider.MetadataResponse) {
resp.TypeName = "litellmvaultsecret"
// The provider's source address is git.unkin.net/unkin/litellmvaultsecret,
// but its resources are prefixed "litellm_" (declare it in required_providers
// under the local name "litellm"), mirroring how google-beta ships google_*.
resp.TypeName = "litellm"
resp.Version = p.version
}