This repository has been archived by the owner on Nov 21, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
main.tf
38 lines (33 loc) · 1.42 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
35
36
37
38
# 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 = "memory_sentinel_value"
memoryReservation = "memory_reservation_sentinel_value"
cpu = "cpu_sentinel_value"
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}"
links = "${var.links}"
volumesFrom = "${var.volumes_from}"
user = "${var.user}"
dependsOn = "${var.depends_on}"
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}"
}