Skip to content

entrepot_repositories

Lists the repositories the provider’s credentials can read, optionally of one format.

data "entrepot_repositories" "docker" {
format = "docker"
}
output "docker_repository_urls" {
value = { for r in data.entrepot_repositories.docker.repositories : r.name => r.url }
}
  • format (String) Only list repositories of this format (raw, pypi, npm, docker, apt, yum, helm).
  • names (List of String) Names of the listed repositories, in the same order as repositories.
  • repositories (Attributes List) The repositories. (see below for nested schema)

Read-Only:

  • anonymous_read (Boolean) Whether unauthenticated reads are allowed.
  • blob_store (String) Blob store holding the repository’s content.
  • format (String) Repository format.
  • kind (String) hosted, proxy or group.
  • name (String) Repository name.
  • online (Boolean) Whether the repository is online.
  • url (String) URL to configure package clients with.

Data source documentation generated from the provider’s schema (docs/data-sources/repositories.md in terraform-provider-entrepot).