parent | title | nav_exclude |
---|---|---|
Infrastructure Components |
AWS ECS-Cluster |
false |
ECS, or EC2 Container Service, is able to run docker containers natively in AWS cloud. While the module can support classic EC2-based and Fargate, features, this module generally prefers "ECS Fargete", which allows dynamic launching of docker containers with no always-on cost and no servers to manage or pay for when tasks are not running.
Use in combination with the ECS-Task
component.
No requirements.
The following providers are used by this module:
-
aws
-
random
The following input variables are required:
Description: Standard name_prefix
module input. (Prefix counts towards 64-character max length for certain resource types.)
Type: string
Description: Standard environment
module input.
Type:
object({
vpc_id = string
aws_region = string
public_subnets = list(string)
private_subnets = list(string)
})
Description: Standard resource_tags
module input.
Type: map(string)
The following input variables are optional (have default values):
Description: Optional. Overrides default instance type if using always-on EC2 instances (i.e. ec2_instance_count
> 0).
Type: string
Default: "m4.xlarge"
Description: Optional. Number of 'always-on' EC2 instances. (Default is 0, meaning no always-on EC2 resources.).
Type: number
Default: 0
The following outputs are exported:
Description: The name of the ECS cluster.
Description: The unique ID (ARN) of the ECS cluster.
Description: The name of the IAM instance role used by the ECS cluster. (Can be used to grant additional permissions.)
Source code for this module is available using the links below.
NOTE: This documentation was auto-generated using
terraform-docs
and s-infra
from slalom.dataops
.
Please do not attempt to manually update this file.