chore(e2e): Clean up enos variables (#6591)
* chore(e2e): No more required enos variables # Conflicts: # .github/workflows/enos-run.yml * CR
This commit is contained in:
1 parent
d4d40ecbb9
commit
843893c1c7
32 files changed
+546
-339
No files matched your search
@@ -0,0 +1,28 @@
|
||||
# Copyright IBM Corp. 2020, 2026
|
||||
# SPDX-License-Identifier: BUSL-1.1
|
||||
|
||||
variable "image_tag" {
|
||||
description = "the tag of the docker image (e.g. 1.2.3)"
|
||||
type = string
|
||||
default = "latest"
|
||||
}
|
||||
|
||||
variable "edition" {
|
||||
description = "the edition of the docker image, either 'oss' or 'ent'"
|
||||
type = string
|
||||
default = "oss"
|
||||
validation {
|
||||
condition = contains(["oss", "ent"], var.edition)
|
||||
error_message = "edition must be either 'oss' or 'ent'."
|
||||
}
|
||||
}
|
||||
|
||||
variable "repository" {
|
||||
description = "the repository of the docker image."
|
||||
type = string
|
||||
default = "hashicorp/boundary"
|
||||
}
|
||||
|
||||
output "image_name" {
|
||||
value = "${var.repository}${var.edition == "ent" ? "-enterprise" : ""}:${var.image_tag}${var.edition == "ent" ? "-ent" : ""}"
|
||||
}
|
||||
Reference in new issue
Block a user