This repository was archived by the owner on Feb 11, 2020. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -14,10 +14,7 @@ module "my_service" {
1414 cluster_id = "${var.cluster_id}"
1515 vpc_id = "${var.vpc_id}"
1616
17- infra_bucket = "${var.infra_bucket}"
18- config_key = "${var.config_key}"
19-
20- config_vars = {
17+ env_vars = {
2118 IP_ADDRESS = "192.0.2.6"
2219 HOST = "localhost"
2320 ...
Original file line number Diff line number Diff line change @@ -53,7 +53,7 @@ module "task" {
5353 NGINX_PORT = " ${ var . primary_container_port } "
5454 }
5555
56- config_vars = " ${ var . config_vars } "
56+ config_vars = " ${ var . env_vars } "
5757
5858 log_group_name_prefix = " ${ var . log_group_name_prefix } "
5959}
Original file line number Diff line number Diff line change @@ -82,7 +82,7 @@ variable "container_path" {
8282 default = " /tmp"
8383}
8484
85- variable "config_vars " {
85+ variable "env_vars " {
8686 description = " Environment variables to pass to the container"
8787 type = " map"
8888 default = {}
Original file line number Diff line number Diff line change @@ -41,7 +41,7 @@ module "service" {
4141 deployment_minimum_healthy_percent = " 0"
4242 deployment_maximum_percent = " 200"
4343
44- config_vars = " ${ var . config_vars } "
44+ env_vars = " ${ var . env_vars } "
4545
4646 loadbalancer_cloudwatch_id = " ${ var . alb_cloudwatch_id } "
4747 server_error_alarm_topic_arn = " ${ var . alb_server_error_alarm_arn } "
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ variable "memory" {
1414 default = 1024
1515}
1616
17- variable "config_vars " {
17+ variable "env_vars " {
1818 description = " Environment variables to pass to the container"
1919 type = " map"
2020}
You can’t perform that action at this time.
0 commit comments