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
terraform-provider-artifactapi/examples/data-sources/artifactapi_remote/data-source.tf
T

15 lines
399 B
Terraform

# Read the configuration of an existing remote by name.
# All fields (base_url, package_type, TTLs, patterns, etc.) are available
# as computed attributes.
data "artifactapi_remote" "dockerhub" {
name = "dockerhub"
}
output "dockerhub_base_url" {
value = data.artifactapi_remote.dockerhub.base_url
}
output "dockerhub_package_type" {
value = data.artifactapi_remote.dockerhub.package_type
}