-
Notifications
You must be signed in to change notification settings - Fork 0
/
main.tf
34 lines (29 loc) · 1.25 KB
/
main.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
# Environment variables are composed into the container definition at output generation time. See outputs.tf for more information.
locals {
container_definition = {
name = "${var.container_name}"
image = "${var.container_image}"
memory = "${var.container_memory}"
memoryReservation = "${var.container_memory_reservation}"
cpu = "${var.container_cpu}"
essential = "${var.essential}"
entryPoint = "${var.entrypoint}"
command = "${var.command}"
workingDirectory = "${var.working_directory}"
readonlyRootFilesystem = "${var.readonly_root_filesystem}"
mountPoints = "${var.mount_points}"
dnsServers = "${var.dns_servers}"
ulimits = "${var.ulimits}"
repositoryCredentials = "${var.repository_credentials}"
portMappings = "${var.port_mappings}"
healthCheck = "${var.healthcheck}"
logConfiguration = {
logDriver = "${var.log_driver}"
options = "${var.log_options}"
}
environment = "environment_sentinel_value"
secrets = "secrets_sentinel_value"
}
environment = "${var.environment}"
secrets = "${var.secrets}"
}