You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Check the section "Other modules that you may need to use this module" for details about modules mentioned in the usage example.
34
-
35
-
## Input values
36
-
37
-
* name_preffix: Name preffix for resources on AWS.
38
-
* profile: AWS API key credentials to use.
39
-
* region: AWS Region the infrastructure is hosted in.
40
-
* vpc_id: ID of the VPC.
41
-
* task_definition_arn: (Required) The full ARN of the task definition that you want to run in your service.
42
-
* ecs_cluster_name = Name of the ECS cluster.
43
-
* ecs_cluster_arn: ARN of an ECS cluster.
44
-
* subnets: The subnets associated with the task or service.
45
-
* container_name: Name of the running container.
46
-
* container_port: Port on which the container is listening.
47
-
* desired_count: (Optional) The number of instances of the task definition to place and keep running. Defaults to 1.
48
-
* platform_version: (Optional) The platform version on which to run your service. Defaults to LATEST. More information about Fargate platform versions can be found in the AWS ECS User Guide.
49
-
* deployment_maximum_percent: (Optional) The upper limit (as a percentage of the service's desiredCount) of the number of running tasks that can be running in a service during a deployment.
50
-
* deployment_minimum_healthy_percent: (Optional) The lower limit (as a percentage of the service's desiredCount) of the number of running tasks that must remain running and healthy in a service during a deployment.
51
-
* enable_ecs_managed_tags: (Optional) Specifies whether to enable Amazon ECS managed tags for the tasks within the service.
52
-
* propagate_tags: (Optional) Specifies whether to propagate the tags from the task definition or the service to the tasks. The valid values are SERVICE and TASK_DEFINITION. Default to SERVICE.
53
-
* ordered_placement_strategy: (Optional) Service level strategy rules that are taken into consideration during task placement. List from top to bottom in order of precedence. The maximum number of ordered_placement_strategy blocks is 5. This is a list of maps where each map should contain "id" and "field".
54
-
* health_check_grace_period_seconds: (Optional) Seconds to ignore failing load balancer health checks on newly instantiated tasks to prevent premature shutdown, up to 2147483647. Only valid for services configured to use load balancers.
55
-
* health_check_path: (Optional) The destination for the health check request.
56
-
* placement_constraints: (Optional) rules that are taken into consideration during task placement. Maximum number of placement_constraints is 10. This is a list of maps, where each map should contain "type" and "expression".
57
-
* service_registries: (Optional) The service discovery registries for the service. The maximum number of service_registries blocks is 1. This is a map that should contain the following fields "registry_arn", "port", "container_port" and "container_name".
58
-
* security_groups: (Optional) The security groups associated with the task or service. If you do not specify a security group, the default security group for the VPC is used.
59
-
* assign_public_ip: (Optional) Assign a public IP address to the ENI (Fargate launch type only). Valid values are true or false. Default false.
60
-
* lb_health_check_path: (Optional) Health check path for the Load Balancer
61
-
* internal_lb: (Optional) Sets ECS service load balancer to internal and disables ECS service public ip assignment. Default false
62
-
63
-
## Output values
64
-
65
-
* aws_ecs_service_service_id: The Amazon Resource Name (ARN) that identifies the service.
66
-
* aws_ecs_service_service_name: The name of the service.
67
-
* aws_ecs_service_service_cluster: The Amazon Resource Name (ARN) of cluster which the service runs on.
68
-
* aws_ecs_service_service_desired_count: The number of instances of the task definition.
69
-
* lb_id: Load Balancer ID.
70
-
* lb_arn: Load Balancer ARN.
71
-
* lb_arn_suffix: Load Balancer ARN Suffix.
72
-
* lb_dns_name: Load Balancer DNS Name.
73
-
* lb_zone_id: Load Balancer Zone ID.
74
-
* lb_sg_id: Load Balancer Security Group - The ID of the security group.
75
-
* lb_sg_arn: Load Balancer Security Group - The ARN of the security group.
76
-
* lb_sg_name: Load Balancer Security Group - The name of the security group.
77
-
* lb_sg_description: Load Balancer Security Group - The description of the security group.
78
-
* ecs_tasks_sg_id: ECS Tasks Security Group - The ID of the security group.
79
-
* ecs_tasks_sg_arn: ECS Tasks Security Group - The ARN of the security group.
80
-
* ecs_tasks_sg_name: ECS Tasks Security Group - The name of the security group.
81
-
* ecs_tasks_sg_description: ECS Tasks Security Group - The description of the security group.
82
-
83
18
## Other modules that you may need to use this module
0 commit comments