* [COMPLIANCE] Update Copyright and License Headers * chore: make gen to generate files with copyright headers * chore: update missed copyright headers --------- Co-authored-by: hashicorp-copywrite[bot] <110428419+hashicorp-copywrite[bot]@users.noreply.github.com> Co-authored-by: Justin Nguyen <justin.nguyen@hashicorp.com>
18 lines
477 B
Terraform
18 lines
477 B
Terraform
# Copyright IBM Corp. 2020, 2025
|
|
# 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)
|
|
}
|