> For the complete documentation index, see [llms.txt](https://docs.cloudscript.ai/cloudscript/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.cloudscript.ai/cloudscript/syntax/component-modules/service-blocks/deployment.md).

# Deployment

The deployment block maps configurations to their appropriate infrastructure components.

```hcl
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.
