Skip to content
This repository has been archived by the owner on Nov 30, 2023. It is now read-only.

remedyproduct/tf-module-ecs-service

Repository files navigation

Usage

ECS Service - Terraform Module

Requirements

No requirements.

Providers

Name Version
aws n/a

Modules

No Modules.

Resources

Name
aws_alb_target_group
aws_ecs_service
aws_ecs_task_definition
aws_lb_listener_rule
aws_route53_record
aws_security_group

Inputs

Name Description Type Default Required
alb_dns_name ALB DNS Name string n/a yes
alb_listener ALB Listener Service rule should be applied for string n/a yes
alb_security_group_id Attached ALB Security Group ID to allow inbound traffic from string n/a yes
alb_zone_id ALB domain Zone ID string n/a yes
cluster_id Cluster ID service should be attached to string n/a yes
container_definitions JSON encoded list of container definitions string "[]" no
desired_count Number of Fargate services to run number 1 no
domain Primary application domain string n/a yes
environment Environment (development, qa, live, etc.) string "development" no
execution_role_arn IAM Role ARN to run tasks by string n/a yes
health_check_path URL path for ALB to check the service is up & running string "/" no
hosted_zone_id Hosted Zone the service should be attached to (may be null) string n/a yes
name Service Name string n/a yes
record_name Subdomain the service should be available by (leave empty to use the main domain) string n/a yes
service_port Docker Image port to route traffic to number 80 no
subnets Subnet IDs to run tasks in list(string) n/a yes
task_definition_cpu Number of cpu units used by the task string "256" no
task_definition_memory Amount (in MiB) of memory used by the task string "512" no
vpc_id VPC ID Service should be launched in string n/a yes

Outputs

Name Description
aws_security_group_id n/a

About

No description or website provided.

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages