Skip to content

ECS Clusters

Input map: cluster_definitions

Key fields:

  • name (optional) — explicit cluster name; otherwise derived from key.
  • settings.container_insights (optional) — "enabled" or "disabled" (default: disabled).
  • tags (optional) — map of tags to apply to the cluster.

Example:

cluster_definitions = {
  SMTPCluster = {
    name = "SMTPCluster"
    settings = {
      container_insights = "enabled"
    }
    tags = {
      Environment = "dev"
    }
  }
}