Skip to content

Commit

Permalink
Update readme with details about the capacity provider param
Browse files Browse the repository at this point in the history
  • Loading branch information
keirbadger committed Apr 4, 2024
1 parent 5916f56 commit e64b30b
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,19 @@ This module creates an ECS service with resources neccessary to plug into an App
* `health_check_unhealthy_threshold` - (default "2") The number of consecutive health check failures required before considering the target unhealthy.
* `health_check_matcher` - (default "200-299") The HTTP codes to use when checking for a successful response from a target. You can specify multiple values (for example, "200,202") or a range of values (for example, "200-299").
* `health_check_grace_period_seconds` - Seconds to ignore failing load balancer health checks on newly instantiated tasks to prevent premature shutdown, up to 2147483647. Default 0.
* `capacity_providers` - (default []) List of capacity providers and the associated weightings

### Outputs

* `target_group_arn` - the ARN of the target group for use by ALB listener rules (e.g. as a parameter to the [tf_alb_listener_rules module](https://github.com/mergermarket/tf_alb_listener_rules)).


### Capacity Providers Example
```
[
{
capacity_provider = "${var.ecs_cluster}-native-scaling"
weight = 1
},
]
```

0 comments on commit e64b30b

Please sign in to comment.