This repository has been archived on 2026-11-19. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files

1.1 KiB

page_title, subcategory, description
page_title subcategory description
artifactapi_virtual Data Source - artifactapi Read an existing ArtifactAPI virtual repository.

artifactapi_virtual (Data Source)

Read an existing ArtifactAPI virtual repository.

Example Usage

# Read the configuration of an existing virtual repository by name.
# Returns the package type, description, and ordered member list.
data "artifactapi_virtual" "helm" {
  name = "helm"
}

output "helm_members" {
  value = data.artifactapi_virtual.helm.members
}

output "helm_package_type" {
  value = data.artifactapi_virtual.helm.package_type
}

Schema

Required

  • name (String) Virtual repository name.

Read-Only

  • description (String) Human-readable description.
  • managed_by (String) What manages the repository (e.g. terraform).
  • members (List of String) Ordered list of member remote names.
  • package_type (String) Package type of the virtual repository.
  • parallel_fetch (Boolean) Whether member index files are fetched concurrently.