Files
terraform-provider-artifactapi/examples/resources/artifactapi_local_docker/main.tf
T
unkinben 30b414141a
ci/woodpecker/pr/build Pipeline was successful
ci/woodpecker/pr/test Pipeline was successful
ci/woodpecker/pr/pre-commit Pipeline was successful
feat: add artifactapi_local_docker resource
The artifactapi server now serves local docker repos as real container
registries, but the provider had no resource to declare one — only remote
docker proxies and local terraform/pypi/rpm repos.

- Add the artifactapi_local_docker resource (package_type=docker,
  repo_type=local), mirroring the other local resources: name + description,
  managed via /api/v2/remotes.
- Register it in the provider and update the resource-count/type tests.
- Add unit tests, an example, and a Local Resources section to the README.
2026-07-04 22:37:10 +10:00

5 lines
137 B
Terraform

resource "artifactapi_local_docker" "internal" {
name = "docker-internal"
description = "Internal container image registry"
}