You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
boundary/enos/modules/read_license/main.tf

18 lines
476 B

# 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)
}