diff --git a/internal/creator/templates/pack_helpers.tpl b/internal/creator/templates/pack_helpers.tpl index 08077fe6..8917a39b 100644 --- a/internal/creator/templates/pack_helpers.tpl +++ b/internal/creator/templates/pack_helpers.tpl @@ -43,7 +43,7 @@ it won't. ## `constraints` helper This helper creates Nomad constraint blocks from a value of type - `list(object(constraint string, operator string, value string))` + `list(object(attribute string, operator string, value string))` */ -]] diff --git a/internal/creator/templates/pack_metadata.hcl b/internal/creator/templates/pack_metadata.hcl index ea99977c..b255d20f 100644 --- a/internal/creator/templates/pack_metadata.hcl +++ b/internal/creator/templates/pack_metadata.hcl @@ -1,19 +1,15 @@ -# Copyright (c) HashiCorp, Inc. -# SPDX-License-Identifier: MPL-2.0 - app { url = "" } pack { name = "{{.PackName}}" description = "" - url = "" version = "" } // Optional dependency information. This block can be repeated. -// dependency { -// name = "demo_dependency_pack_name" +// dependency "demo_dep" { +// alias = "demo_dep" // source = "git://source.git/packs/demo_dependency_pack" // } diff --git a/internal/creator/templates/pack_variables.hcl b/internal/creator/templates/pack_variables.hcl index f5519900..2d2331ad 100644 --- a/internal/creator/templates/pack_variables.hcl +++ b/internal/creator/templates/pack_variables.hcl @@ -1,6 +1,3 @@ -# Copyright (c) HashiCorp, Inc. -# SPDX-License-Identifier: MPL-2.0 - variable "job_name" { # If "", the pack name will be used description = "The name to use as the job name which overrides using the pack name"