Data Resource: dcos_package_version
Selects a package version from the given catalog repository.
Example Usage
resource "dcos_package_repo" "universe" { }
# Select a package version out of a repository
data "dcos_package_version" "jenkins-latest" {
repo_url = "${dcos_package_repo.universe.url}"
name = "jenkins"
version = "latest"
index = -1
}
Argument Reference
The following arguments are supported
repo_url
(Required) the repository URL where to search for the package. This is typically the.url
output variable of adcos_package_repo
resourcename
(Required) the name of the package to resolve in the repository specified.version
(Required) the version of the package to resolve (can belatest
to resolve the latest available version).spec
(Output Only) The package version specification that can be passed down to the.version_spec
argument of adcos_package_config
data resource.