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.
39
27
28
+
## Input values
29
+
30
+
* name_preffix: Name preffix for resources on AWS.
31
+
* profile: AWS API key credentials to use.
32
+
* region: AWS Region the infrastructure is hosted in.
33
+
* vpc_id: ID of the VPC.
34
+
* task_definition_arn: (Required) The full ARN of the task definition that you want to run in your service.
35
+
* ecs_cluster_arn: ARN of an ECS cluster.
36
+
* subnets: The subnets associated with the task or service.
37
+
* container_port: Port on which the container is listening.
38
+
* desired_count: (Optional) The number of instances of the task definition to place and keep running. Defaults to 1.
39
+
* 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.
40
+
* 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.
41
+
* 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.
42
+
* enable_ecs_managed_tags: (Optional) Specifies whether to enable Amazon ECS managed tags for the tasks within the service.
43
+
* 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.
44
+
* 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".
45
+
* 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.
46
+
* 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".
47
+
* 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".
48
+
* 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.
49
+
* assign_public_ip: (Optional) Assign a public IP address to the ENI (Fargate launch type only). Valid values are true or false. Default false.
50
+
40
51
## Output values
41
52
42
53
* aws_ecs_service_service_id: The Amazon Resource Name (ARN) that identifies the service.
@@ -77,3 +88,34 @@ Check versions for this module on:
description="The subnets associated with the task or service."
101
-
type=list
102
-
}
103
-
104
103
variable"security_groups" {
105
104
description="(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."
0 commit comments