c108edd903
* Fix Artifactory search for fips and hsm editions Signed-off-by: Jaymala Sinha <jaymala@hashicorp.com> * Fix artifactory search for packages too Signed-off-by: Jaymala Sinha <jaymala@hashicorp.com> Signed-off-by: Jaymala Sinha <jaymala@hashicorp.com>
23 lines
614 B
HCL
23 lines
614 B
HCL
terraform {
|
|
required_providers {
|
|
enos = {
|
|
source = "app.terraform.io/hashicorp-qti/enos"
|
|
version = ">= 0.2.3"
|
|
}
|
|
}
|
|
}
|
|
|
|
data "enos_artifactory_item" "vault" {
|
|
username = var.artifactory_username
|
|
token = var.artifactory_token
|
|
name = local.artifact_name
|
|
host = var.artifactory_host
|
|
repo = var.artifactory_repo
|
|
path = var.edition == "oss" ? "vault/*" : "vault-enterprise/*"
|
|
properties = tomap({
|
|
"commit" = var.revision
|
|
"product-name" = var.edition == "oss" ? "vault" : "vault-enterprise"
|
|
"product-version" = local.artifact_version
|
|
})
|
|
}
|