Skip to main content

lvl app component attachment

Commands for managing app component attachments

Synopsis

Some components (such as solr) allow you to associate a bundle of files uploaded in advance. This is done through 'attachments'. These commands allow you to upload & manage these attachments. To actually use them with a component, specify --attachment to the relevant lvl command, such as lvl app component create.

Examples

To upload & use a solr attachment:
lvl app component attachment upload ./config.zip -t solr -n solr_config
lvl app component create my_app --type solr --name solr --system my.cool.system --attachment <id>

Options

  -h, --help   help for attachment

Options inherited from parent commands

      --apikey string   API key
--config string config file (default is $HOME/.lvl.yaml)
-o, --output string Specifies output mode for commands. Accepted values are 'text', 'json', 'yaml' or 'id'. (default "text")
--trace Do detailed network request logging. This is intended for debugging and should not be parsed.

SEE ALSO