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
Copy file name to clipboardExpand all lines: README.md
+34Lines changed: 34 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -36,9 +36,37 @@ Check valid versions on:
36
36
}
37
37
38
38
Check the section "Other modules that you may need to use this module" for details about modules mentioned in the usage example.
39
+
<<<<<<< HEAD
40
+
=======
41
+
42
+
## Input values
43
+
* name_preffix: Name preffix for resources on AWS.
44
+
* profile: AWS API key credentials to use.
45
+
* region: AWS Region the infrastructure is hosted in.
46
+
47
+
* task_definition_arn: (Required) The full ARN of the task definition that you want to run in your service.
48
+
* ecs_cluster_arn: ARN of an ECS cluster
49
+
* desired_count: (Optional) The number of instances of the task definition to place and keep running. Defaults to 1.
50
+
* 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.
51
+
* 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.
52
+
* 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.
53
+
* enable_ecs_managed_tags: (Optional) Specifies whether to enable Amazon ECS managed tags for the tasks within the service.
54
+
* 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
55
+
* 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".
56
+
* 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.
57
+
* 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".
58
+
* 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".
59
+
* subnets: The subnets associated with the task or service.
60
+
* 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.
61
+
* assign_public_ip: (Optional) Assign a public IP address to the ENI (Fargate launch type only). Valid values are true or false. Default false.
62
+
>>>>>>> Reorganizing code and adding variables to service
39
63
40
64
## Output values
41
65
66
+
* aws_ecs_service_service_id: The Amazon Resource Name (ARN) that identifies the service.
67
+
* aws_ecs_service_service_name: The name of the service.
68
+
* aws_ecs_service_service_cluster: The Amazon Resource Name (ARN) of cluster which the service runs on.
69
+
* aws_ecs_service_service_desired_count: The number of instances of the task definition.
42
70
* lb_id: Load Balancer ID.
43
71
* lb_arn: Load Balancer ARN.
44
72
* lb_arn_suffix: Load Balancer ARN Suffix.
@@ -60,9 +88,15 @@ The networking module should look like this:
60
88
module "networking" {
61
89
source = "jnonino/networking/aws"
62
90
version = "2.0.3"
91
+
<<<<<<< HEAD
63
92
name_preffix = var.name_preffix
64
93
profile = var.profile
65
94
region = var.region
95
+
=======
96
+
name_preffix = "base"
97
+
profile = "aws_profile"
98
+
region = "us-east-1"
99
+
>>>>>>> Reorganizing code and adding variables to service
0 commit comments