Skip to content
This repository has been archived by the owner on Feb 11, 2020. It is now read-only.

Commit

Permalink
Apply auto-formatting rules
Browse files Browse the repository at this point in the history
  • Loading branch information
weco-bot committed Jul 16, 2018
1 parent 960cfb7 commit a72ad7e
Show file tree
Hide file tree
Showing 20 changed files with 33 additions and 21 deletions.
2 changes: 1 addition & 1 deletion ecs/modules/service/prebuilt/sqs_scaling/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ module "task" {
memory = "${var.memory}"
cpu = "${var.cpu}"

env_vars = "${var.env_vars}"
env_vars = "${var.env_vars}"
env_vars_length = "${var.env_vars_length}"

aws_region = "${var.aws_region}"
Expand Down
1 change: 1 addition & 0 deletions ecs/modules/service/prebuilt/sqs_scaling/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ variable "security_group_ids" {
variable "namespace_id" {
default = "ecs"
}

variable "env_vars_length" {
default = 0
}
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,8 @@ module "sidecar_log_group" {
}

module "sidecar_env_vars" {
source = "../../env_vars"
env_vars = "${var.sidecar_env_vars}"
source = "../../env_vars"
env_vars = "${var.sidecar_env_vars}"
env_vars_length = "${var.sidecar_env_vars_length}"
}

Expand All @@ -68,7 +68,7 @@ module "app_log_group" {
}

module "app_env_vars" {
source = "../../env_vars"
env_vars = "${var.app_env_vars}"
source = "../../env_vars"
env_vars = "${var.app_env_vars}"
env_vars_length = "${var.app_env_vars_length}"
}
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,6 @@ module "log_group" {
module "env_vars" {
source = "../../env_vars"

env_vars = "${var.env_vars}"
env_vars = "${var.env_vars}"
env_vars_length = "${var.env_vars_length}"
}
3 changes: 1 addition & 2 deletions ecs/modules/task/modules/env_vars/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,4 @@ variable "env_vars" {
type = "map"
}

variable "env_vars_length" {
}
variable "env_vars_length" {}
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ module "container_definition" {
sidecar_cpu = "${var.sidecar_cpu}"
sidecar_env_vars = "${var.sidecar_env_vars}"

app_env_vars_length = "${var.app_env_vars_length}"
app_env_vars_length = "${var.app_env_vars_length}"
sidecar_env_vars_length = "${var.sidecar_env_vars_length}"
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,11 @@ variable "ebs_container_path" {}

variable "efs_host_path" {}
variable "efs_container_path" {}

variable "app_env_vars_length" {
default = 0
}

variable "sidecar_env_vars_length" {
default = 0
}
}
8 changes: 4 additions & 4 deletions ecs/modules/task/prebuilt/container_with_sidecar+ebs/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,10 @@ module "container_definition" {
sidecar_container_image = "${var.sidecar_container_image}"
sidecar_port_mappings_string = "${module.sidecar_port_mappings.port_mappings_string}"

sidecar_memory = "${var.sidecar_memory}"
sidecar_cpu = "${var.sidecar_cpu}"
sidecar_env_vars = "${var.sidecar_env_vars}"
app_env_vars_length = "${var.app_env_vars_length}"
sidecar_memory = "${var.sidecar_memory}"
sidecar_cpu = "${var.sidecar_cpu}"
sidecar_env_vars = "${var.sidecar_env_vars}"
app_env_vars_length = "${var.app_env_vars_length}"
sidecar_env_vars_length = "${var.sidecar_env_vars_length}"
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,11 @@ variable "aws_region" {}

variable "ebs_host_path" {}
variable "ebs_container_path" {}

variable "app_env_vars_length" {
default = 0
}

variable "sidecar_env_vars_length" {
default = 0
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ module "container_definition" {
sidecar_cpu = "${var.sidecar_cpu}"
sidecar_env_vars = "${var.sidecar_env_vars}"

app_env_vars_length = "${var.app_env_vars_length}"
app_env_vars_length = "${var.app_env_vars_length}"
sidecar_env_vars_length = "${var.sidecar_env_vars_length}"
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,11 @@ variable "aws_region" {}

variable "efs_host_path" {}
variable "efs_container_path" {}

variable "app_env_vars_length" {
default = 0
}

variable "sidecar_env_vars_length" {
default = 0
}
2 changes: 1 addition & 1 deletion ecs/modules/task/prebuilt/container_with_sidecar/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ module "container_definition" {
sidecar_port_mappings_string = "${module.sidecar_port_mappings.port_mappings_string}"
sidecar_env_vars = "${var.sidecar_env_vars}"

app_env_vars_length = "${var.app_env_vars_length}"
app_env_vars_length = "${var.app_env_vars_length}"
sidecar_env_vars_length = "${var.sidecar_env_vars_length}"
}

Expand Down
2 changes: 2 additions & 0 deletions ecs/modules/task/prebuilt/container_with_sidecar/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,11 @@ variable "sidecar_is_proxy" {
}

variable "aws_region" {}

variable "app_env_vars_length" {
default = 0
}

variable "sidecar_env_vars_length" {
default = 0
}
2 changes: 1 addition & 1 deletion ecs/modules/task/prebuilt/single_container+ebs+efs/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ module "container_definition" {

mount_points = "${module.task_definition.mount_points}"

task_port = "${var.container_port}"
task_port = "${var.container_port}"
env_vars_length = "${var.env_vars_length}"
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ variable "ebs_container_path" {}

variable "efs_host_path" {}
variable "efs_container_path" {}

variable "env_vars_length" {
default = 0
}
2 changes: 1 addition & 1 deletion ecs/modules/task/prebuilt/single_container+ebs/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ module "container_definition" {

mount_points = "${module.task_definition.mount_points}"

task_port = "${var.container_port}"
task_port = "${var.container_port}"
env_vars_length = "${var.env_vars_length}"
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ variable "aws_region" {}

variable "ebs_host_path" {}
variable "ebs_container_path" {}

variable "env_vars_length" {
default = 0
}
2 changes: 1 addition & 1 deletion ecs/modules/task/prebuilt/single_container+efs/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ module "container_definition" {

mount_points = "${module.task_definition.mount_points}"

task_port = "${var.container_port}"
task_port = "${var.container_port}"
env_vars_length = "${var.env_vars_length}"
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ variable "aws_region" {}

variable "efs_host_path" {}
variable "efs_container_path" {}

variable "env_vars_length" {
default = 0
}
3 changes: 2 additions & 1 deletion ecs/modules/task/prebuilt/single_container/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ variable "memory" {
}

variable "aws_region" {}

variable "env_vars_length" {
default = 0
}
}

0 comments on commit a72ad7e

Please sign in to comment.