forked from arminc/terraform-ecs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
ecs.tfvars
40 lines (29 loc) · 1.22 KB
/
ecs.tfvars
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
30
31
32
33
34
35
36
37
38
39
40
# A name to describe the environment we're creating.
environment = "acc"
# The AWS-CLI profile for the account to create resources in.
aws_profile = "default"
# The AWS region to create resources in.
aws_region = "eu-west-1"
# The AMI to seed ECS instances with.
# Leave empty to use the latest Linux 2 ECS-optimized AMI by Amazon.
aws_ecs_ami = ""
# The IP range to attribute to the virtual network.
# The allowed block size is between a /16 (65,536 addresses) and /28 (16 addresses).
vpc_cidr = "10.0.0.0/16"
# The IP ranges to use for the public subnets in your VPC.
# Must be within the IP range of your VPC.
public_subnet_cidrs = ["10.0.0.0/24", "10.0.1.0/24"]
# The IP ranges to use for the private subnets in your VPC.
# Must be within the IP range of your VPC.
private_subnet_cidrs = ["10.0.50.0/24", "10.0.51.0/24"]
# The AWS availability zones to create subnets in.
# For high-availability, we need at least two.
availability_zones = ["eu-west-1a", "eu-west-1b"]
# Maximum number of instances in the ECS cluster.
max_size = 1
# Minimum number of instances in the ECS cluster.
min_size = 1
# Ideal number of instances in the ECS cluster.
desired_capacity = 1
# Size of instances in the ECS cluster.
instance_type = "t2.micro"