Skip to content

Commit 2974a2a

Browse files
committed
Updating README
1 parent 65b5140 commit 2974a2a

File tree

1 file changed

+1
-31
lines changed

1 file changed

+1
-31
lines changed

README.md

Lines changed: 1 addition & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ Check valid versions on:
1010
* Github Releases: <https://github.com/jnonino/terraform-aws-ecs-fargate/releases>
1111
* Terraform Module Registry: <https://registry.terraform.io/modules/jnonino/ecs-fargate/aws>
1212

13-
module "ecs-fargate":
13+
module "ecs-fargate-service":
1414
source = "jnonino/ecs-fargate/aws"
1515
version = "2.0.4"
1616
name_preffix = var.name_preffix
@@ -36,30 +36,6 @@ Check valid versions on:
3636
}
3737

3838
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
6339

6440
## Output values
6541

@@ -88,15 +64,9 @@ The networking module should look like this:
8864
module "networking" {
8965
source = "jnonino/networking/aws"
9066
version = "2.0.3"
91-
<<<<<<< HEAD
9267
name_preffix = var.name_preffix
9368
profile = var.profile
9469
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
10070
vpc_cidr_block = "192.168.0.0/16"
10171
availability_zones = [ "us-east-1a", "us-east-1b", "us-east-1c", "us-east-1d" ]
10272
public_subnets_cidrs_per_availability_zone = [ "192.168.0.0/19", "192.168.32.0/19", "192.168.64.0/19", "192.168.96.0/19" ]

0 commit comments

Comments
 (0)