ecs-fargate-service
cn-terraform/ecs-fargate-service/aws
AWS ECS Fargate Service Terraform Module
AWS ECS Fargate Terraform Module # This Terraform module deploys an AWS ECS Fargate service.       Usage Check valid versions on: Github Releases: Terraform Module Registry: Other modules that you may need to use this module The Networking module: Github Releases: Terraform Module Registry: The ECS cluster module: Github Releases: Terraform Mo
| Name | Type | Description | Default |
|---|---|---|---|
| public_subnets | list(any) | The public subnets associated with the task or service. | required |
| vpc_id | string | ID of the VPC | required |
| platform_version | string | (Optional) The platform version on which to run your service. Defaults to 1.4.0. | "1.4.0" |
| security_groups | list(any) | (Optional) The security groups associated with the task or service. If you do no | [] |
| additional_lbs | map(object ( { | Additional load balancers to add to ECS service | {} |
| access_logs_prefix | string | (Optional) if access logging to an S3 bucket, this sets a prefix in the bucket b | null |
| min_cpu_period | string | The period in seconds over which the specified statistic is applied for min cpu | "60" |
| scale_target_max_capacity | number | The max capacity of the scalable target | 5 |
| lb_load_balancing_algorithm_type | string | (Optional) Determines how the load balancer selects targets when routing request | "round_robin" |
| lb_stickiness | object({ type = | (Optional) A Stickiness block. Provide three fields. type, the type of sticky se | {
"cookie_duration": 86400,
"enabled |
| lb_target_group_health_check_enabled | bool | (Optional) Indicates whether health checks are enabled. Defaults to true. | true |
| lb_target_group_health_check_matcher | string | The HTTP codes to use when checking for a successful response from a target. You | "200" |
| additional_certificates_arn_for_https_listeners | list(any) | (Optional) List of SSL server certificate ARNs for HTTPS listener. Use it if you | [] |
| service_registries | map(any) | (Optional) The service discovery registries for the service. The maximum number | {} |
| force_new_deployment | bool | (Optional) Enable to force a new task deployment of the service. This can be use | false |
| tags | map(string) | Resource tags | {} |
| lb_idle_timeout | number | (Optional) The time in seconds that the connection is allowed to be idle. Defaul | 60 |
| lb_enable_http2 | bool | (Optional) Indicates whether HTTP/2 is enabled in the load balancer. Defaults to | true |
| lb_target_group_health_check_path | string | The destination for the health check request. | "/" |
| lb_target_group_health_check_protocol | string | (Optional) The protocol the load balancer uses when performing health checks on | "HTTP" |
| ssl_policy | string | (Optional) The name of the SSL Policy for the listener. . Required if var.https_ | null |
| deployment_controller | list(any) | (Optional) Deployment controller default: 'ECS' | [
{
"type": "ECS"
}
] |
| … and 10 more inputs | |||
ecs_tasks_sg_arn — ${var.name_prefix} ECS Tasks Security Group - The ARN of the security groupecs_tasks_sg_name — ${var.name_prefix} ECS Tasks Security Group - The name of the security groupecs_tasks_sg_id — ${var.name_prefix} ECS Tasks Security Group - The ID of the security groupaws_lb_lb_arn — The ARN of the load balancer (matches id).aws_security_group_lb_access_sg_owner_id — The owner ID.lb_http_tgs_arns — List of HTTP Target Groups ARNslb_http_listeners_ids — List of HTTP Listeners IDslb_https_listeners_ids — List of HTTPS Listeners IDsecs_tasks_sg_description — ${var.name_prefix} ECS Tasks Security Group - The description of the security groupaws_lb_lb_dns_name — The DNS name of the load balancer.aws_security_group_lb_access_sg_id — The ID of the security groupaws_ecs_service_service_cluster — The Amazon Resource Name (ARN) of cluster which the service runs on.aws_security_group_lb_access_sg_name — The name of the security grouplb_https_tgs_names — List of HTTPS Target Groups Namesaws_ecs_service_service_id — The Amazon Resource Name (ARN) that identifies the service.aws_lb_lb_id — The ARN of the load balancer (matches arn).aws_lb_lb_zone_id — The canonical hosted zone ID of the load balancer (to be used in a Route 53 Alias record).aws_security_group_lb_access_sg_description — The description of the security groupaws_security_group_lb_access_sg_egress — The egress rules.lb_https_tgs_ids — List of HTTPS Target Groups IDsaws_ecs_service_service_desired_count — The number of instances of the task definitionaws_security_group_lb_access_sg_vpc_id — The VPC ID.lb_http_listeners_arns — List of HTTP Listeners ARNslb_https_listeners_arns — List of HTTPS Listeners ARNsaws_ecs_service_service_name — The name of the service.aws_security_group_lb_access_sg_arn — The ARN of the security grouplb_http_tgs_names — List of HTTP Target Groups Namesaws_lb_lb_arn_suffix — The ARN suffix for use with CloudWatch Metrics.aws_security_group_lb_access_sg_ingress — The ingress rules.lb_http_tgs_ids — List of HTTP Target Groups IDsAzure landing zones Terraform module
Terraform supermodule for the Terraform platform engineering for Azure
Terraform module to deploy landing zone subscriptions (and much more) in Azure
Terraform Module to define a consistent naming convention by (namespace, stage,