Env

The env command prints a formatted list of environment variables defined in a blueprint which can be interpreted by the operating system.

Usage

jumppad env [flags]

This can be very useful to either set or unset environment variables on your current session.

Set environment variables on your current session.

  eval $(jumppad env)

Unset environment variables on your current session.

eval $(jumppad env --unset)

Flags

  • Name
    unset
    Type
    (bool: false)
    Required
    Readonly
    Description

    When set to true Jumppad will print unset commands for environment variables defined by the blueprint.

Examples

Example defining environment variables using output resources.

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