feat: add artifactapi_local_terraform resource type
ci/woodpecker/push/build Pipeline was successful
ci/woodpecker/push/test Pipeline was successful
ci/woodpecker/pr/build Pipeline was successful
ci/woodpecker/pr/test Pipeline was successful

New resource for creating local terraform registries in ArtifactAPI
(repo_type=local, package_type=terraform). These repos host providers
directly rather than proxying an upstream registry.

Schema is minimal: just name and description — no upstream-specific
fields like base_url, caching TTLs, or auth.
This commit is contained in:
2026-06-22 23:30:21 +10:00
parent 7c94f06be6
commit 2653c34f94
6 changed files with 298 additions and 2 deletions
+1
View File
@@ -68,6 +68,7 @@ func (p *ArtifactAPIProvider) Resources(_ context.Context) []func() resource.Res
newRemoteResource("terraform"),
newRemoteResource("goproxy"),
NewVirtualResource,
NewLocalTerraformResource,
}
}