| id | mass_bundle_new.md |
|---|---|
| slug | /cli/commands/mass_bundle_new |
| title | Mass Bundle New |
| sidebar_label | Mass Bundle New |
Create a new bundle from a template
Use an existing Application Template to start building a new bundle. This command can run both in an interactive mode or using flags
To get started in interactive mode run mass bundle new then follow the prompts
Massdriver documentation on building bundles
Create a new bundle using an existing OpenTofu module to populate params:
mass bundle new -n foo -o massdriver -t opentofu-module -c network=massdriver/vpc -p /path/to/opentofu/dirCreate a new bundle using an existing Helm chart's values.yaml to populate params:
mass bundle new -n foo -o massdriver -t helm-chart -c network=massdriver/vpc -p /path/to/helm/values.yamlmass bundle new [flags]
-a, --artifacts strings Artifacts and names to add to the bundle - example: network=massdriver/vpc
-c, --connections strings Connections and names to add to the bundle - example: network=massdriver/vpc
-d, --description string Description of the new bundle
-h, --help help for new
-n, --name string Name of the new bundle. Setting this along with --template-name will disable the interactive prompt.
-o, --output-directory string Directory to output the new bundle (default ".")
-p, --params-directory string Path with existing params to use - opentofu module directory or helm chart values.yaml
-t, --template-name string Name of the bundle template to use. Setting this along with --name will disable the interactive prompt.
- mass bundle - Generate and publish bundles