forked from aws-ia/ecs-blueprints
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathterraform.tfvars.example
More file actions
29 lines (22 loc) · 1.05 KB
/
terraform.tfvars.example
File metadata and controls
29 lines (22 loc) · 1.05 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# You should update the below variables
# aws_region from the core-infra example
aws_region = "us-west-2"
#The AWS Secrets Manager secret name containing the plaintext Github access token
github_token_secret_name = "ecs-github-token"
repository_owner = "aws-ia"
# It is optional to change the below variables
# core_stack_name is also same as ecs_cluster_name from core-infra
core_stack_name = "ecs-blueprint-infra"
service_name = "ecsdemo-frontend"
namespace = "default"
backend_svc_endpoint = "http://ecsdemo-nodejs.default.ecs-blueprint-infra.local:3000"
desired_count = 3
cpu = 256
memory = 512
container_name = "ecsdemo-frontend"
#Don't change the container port as it is specific to this app example
container_port = 3000
# To set scheduled autoscaling, it will trigger scale up at 10 min past the hr and scale down at 20 min past the hr
enable_scheduled_autoscaling = true
scheduled_autoscaling_up_time = "cron(0 10 * ? * *)"
scheduled_autoscaling_down_time = "cron(0 20 * ? * *)"