> 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/readme.md).

# Syntax Overview

Cloudscript's is largely built on HCL's structure, making it simple and readable, while also covering all of the same features as terraform, ansible and kubernetes.

### General Syntax Blueprint

```hcl
type CustomType {...}

providers {...}

service "name" {
    
    provider = "..."
    
    infrastructure {...}
    
    configuration {...}
    
    containers {...}
    
    deployment {...}
}
```

Cloudscript code is compartmentalized into the format shown above. See the sections referenced below for syntax features and formatting for each of the component modules.

{% content-ref url="/pages/T6vsMjhV800zgOwTaRkR" %}
[Syntax Features](/cloudscript/syntax/syntax-features.md)
{% endcontent-ref %}

{% content-ref url="/pages/f3ub0jOYX8wVkeF4Dkfb" %}
[Component Modules](/cloudscript/syntax/component-modules.md)
{% endcontent-ref %}
