-
Notifications
You must be signed in to change notification settings - Fork 52
info
Charlie Voiselle edited this page Feb 11, 2022
·
1 revision
layout: commands page_title: "Commands: Info" sidebar_title: "info" description: "Get information on a pack"
Command: nomad-pack info
Get information on a pack
Usage: nomad-pack info <pack-name>
Returns information on the given pack including name, description, and variable details.
Examples: # Get information on the "hello-world" pack nomad-pack info hello-world
-
-var-file=<string>
- Specifies the path to a variable override file. This can be provided multiple times on a single command to result in a list of files. -
-var=<key=value>
- Specifies single override variables in the form of HCL syntax and can be specified multiple times per command. -
-name=<string>
- If set, this will be the unique identifier of this deployed instance of the specified pack. If not set, the pack name will be used. This is useful for running more than one instance of a pack within the same cluster. Note that this name must be globally unique within a cluster. Running the run command multiple times with the same name, will just re-submit the same pack, and apply changes if you have made any to the underlying pack. Be mindful that, whether you have made changes or not, the underlying Allocations will be replaced. When managing packs, the name specified here is the name that should be passed to the plan or destroy commands.
-
-registry=<string>
- Specific registry name containing the pack to retrieve info about. If not specified, the default registry will be used. -
-ref=<string>
- Specific git ref of the pack to retrieve info about. Supports tags, SHA, and latest. If no ref is specified, defaults to latest.
Using ref with a file path is not supported.