---
# generated by https://github.com/hashicorp/terraform-plugin-docs
page_title: "awscc_ecs_cluster_capacity_provider_associations Resource - terraform-provider-awscc"
subcategory: ""
description: |-
Associate a set of ECS Capacity Providers with a specified ECS Cluster
---
# awscc_ecs_cluster_capacity_provider_associations (Resource)
Associate a set of ECS Capacity Providers with a specified ECS Cluster
## Schema
### Required
- `capacity_providers` (List of String) List of capacity providers to associate with the cluster
- `cluster` (String) The name of the cluster
- `default_capacity_provider_strategy` (Attributes List) List of capacity providers to associate with the cluster (see [below for nested schema](#nestedatt--default_capacity_provider_strategy))
### Read-Only
- `id` (String) Uniquely identifies the resource.
### Nested Schema for `default_capacity_provider_strategy`
Required:
- `base` (Number)
- `capacity_provider` (String) If using ec2 auto-scaling, the name of the associated capacity provider. Otherwise FARGATE, FARGATE_SPOT.
- `weight` (Number)
## Import
Import is supported using the following syntax:
```shell
$ terraform import awscc_ecs_cluster_capacity_provider_associations.example
```