Output

The output resource allows you to define output variables which can be used with the Shipyard output and env commands.

Simple example

output "KUBECONFIG" {
value = "/path/to/kubeconfig.yaml"
}

Example using Shipyard functions

output "KUBECONFIG" {
value = k8s_config("k3s")
}

Parameters

value

Type: string
Required: true

Value to set for the output variable