github.com/dahs81/otto@v0.2.1-0.20160126165905-6400716cf085/website/source/docs/commands/deploy.html.md.erb (about)

     1  ---
     2  layout: "docs"
     3  page_title: "Commands: deploy"
     4  sidebar_current: "docs-commands-deploy"
     5  description: >
     6    Builds the application using Packer.
     7  ---
     8  
     9  # Command: deploy
    10  
    11  The `deploy` command tells Otto to deploy a build of your application to your
    12  infrastructure. Otto uses [Terraform](https://www.terraform.io) internally to take
    13  the artifact produced by a successful [build](/docs/commands/build.html) and
    14  deploy it into your infrastructure.
    15  
    16  ## Usage
    17  
    18  ```
    19  otto deploy [subcommand]
    20  ```
    21  
    22  Without any subcommands, Otto deploys the artifact from the last successful
    23  build into your infrastructure.
    24  
    25  The available subcommands are:
    26  
    27   * `info` - Displays information about the deployed application. Otto outputs
    28     this information in `key = value` format. If you provide a key name as an
    29     additional argument, Otto will only print the value of that key.
    30   * `destroy [-force]` - Destroys the resources used to deploy this application.
    31     Each application deployed to an infrastructure must be destroyed before the
    32     [infra destroy command](/docs/commands/infra.html) will work. Otto will ask
    33     for confirmation unless the `-force` flag is specified.
    34  
    35  A list of these subcommands are also available via `otto deploy help`.