generated from bcgov/bcgov-terraform-module-template
-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathvariables.tf
99 lines (80 loc) · 2.35 KB
/
variables.tf
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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
# variables.tf
variable "target_env" {
description = "AWS workload account env (e.g. dev, test, prod, sandbox, unclass)"
}
variable "aws_region" {
description = "The AWS region things are created in"
default = "ca-central-1"
}
variable "ecs_task_execution_role_name" {
description = "ECS task execution role name"
default = "startupSampleEcsTaskExecutionRole"
}
variable "ecs_auto_scale_role_name" {
description = "ECS auto scale role Name"
default = "startupSampleEcsAutoScaleRole"
}
variable "az_count" {
description = "Number of AZs to cover in a given region"
default = "2"
}
variable "app_name" {
description = "Name of the application"
type = string
default = "sample-app"
}
variable "app_image" {
description = "Docker image to run in the ECS cluster. _Note_: there is a blank default value, which will cause service and task resource creation to be supressed unless an image is specified."
type = string
default = ""
}
variable "app_port" {
description = "Port exposed by the docker image to redirect traffic to"
default = 80
}
variable "app_count" {
description = "Number of docker containers to run"
default = 2
}
variable "container_name" {
description = "Container name"
default = "sample-client-app"
}
variable "health_check_path" {
default = "/"
}
variable "fargate_cpu" {
description = "Fargate instance CPU units to provision (1 vCPU = 1024 CPU units)"
default = 512
}
variable "fargate_memory" {
description = "Fargate instance memory to provision (in MiB)"
default = 1024
}
variable "db_name" {
description = "DynamoDB DB Name"
default = "ssp-greetings"
}
variable "repository_name" {
description = "Name for the container repository to be provisioned."
type = string
default = "ssp"
}
variable "budget_amount" {
description = "The amount of spend for the budget. Example: enter 100 to represent $100"
default = "100.0"
}
variable "budget_tag" {
description = "The Cost Allocation Tag that will be used to build the monthly budget. "
default = "Project=Startup Sample"
}
variable "common_tags" {
description = "Common tags for created resources"
default = {
Application = "Startup Sample"
}
}
variable "cloudfront" {
description = "enable or disable the cloudfront distrabution creation"
type = bool
}