Files
threshold/enos/modules/read_license/main.tf
T
dillanb-hashi 1e8c345126 chore(e2e): Added support for boundary license to be an env for enos (#5704)
* chore(e2e): Added support for boundary license to be an env for enos
2025-05-07 12:47:09 -07:00

18 lines
476 B
Terraform

# Copyright (c) HashiCorp, Inc.
# SPDX-License-Identifier: BUSL-1.1
# Loads boundary license from file or environment variable
# If license is null or not provided, then the license is returned from the file at license_path
variable "license_path" {
description = "Path to the boundary license file"
}
variable "license" {
description = "Boundary license"
default = null
}
output "license" {
value = var.license != null ? var.license : file(var.license_path)
}