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,24 @@
|
||||
# Copyright IBM Corp. 2020, 2026
|
||||
# SPDX-License-Identifier: BUSL-1.1
|
||||
|
||||
terraform {
|
||||
required_providers {
|
||||
external = {
|
||||
source = "hashicorp/external"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
variable "name" {
|
||||
description = "the binary name"
|
||||
}
|
||||
|
||||
data "external" "find_binary" {
|
||||
program = ["bash", "-c", "printf '{\"path\":\"%s\"}' \"$(which ${var.name})\""]
|
||||
}
|
||||
|
||||
output "path" {
|
||||
value = dirname(abspath(data.external.find_binary.result.path))
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user