Deployment

The deployment block maps configurations to their appropriate infrastructure components.

service "name" {
    deployment {
        "infrastructure.compute.web_server" maps_to "configuration.play.webapp"
      }
}

"infrastructure.compute.web_server" refers to a compute component named "web_server" defined in the infrastructure block. Similarly "configuration.play.webapp" refers to a play named ""web app" defined in the configuration block.

Last updated