Skip to content

Commit 3a59546

Browse files
committed
terraform fmt everything
1 parent 8e355d8 commit 3a59546

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

rds/main.tf

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -122,9 +122,9 @@ resource "aws_security_group_rule" "main-ingress-sgs" {
122122
count = "${length(var.ingress_allow_security_groups)}"
123123
source_security_group_id = "${element(var.ingress_allow_security_groups, count.index)}"
124124

125-
from_port = "${var.port}"
126-
to_port = "${var.port}"
127-
protocol = "TCP"
125+
from_port = "${var.port}"
126+
to_port = "${var.port}"
127+
protocol = "TCP"
128128
}
129129

130130
resource "aws_security_group_rule" "main-egress-all" {
@@ -136,11 +136,11 @@ resource "aws_security_group_rule" "main-egress-all" {
136136
cidr_blocks = ["0.0.0.0/0"]
137137
}
138138

139-
140139
resource "aws_security_group" "main" {
141140
name = "${var.name}-rds"
142141
description = "Allows traffic to RDS from other security groups"
143142
vpc_id = "${var.vpc_id}"
143+
144144
tags {
145145
Name = "RDS (${var.name})"
146146
}

s3-logs/main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ data "template_file" "policy" {
1818
template = "${file("${path.module}/policy.json")}"
1919

2020
vars = {
21-
bucket = "${var.name}-${var.environment}-logs"
21+
bucket = "${var.name}-${var.environment}-logs"
2222
elb_account_id = "${data.aws_elb_service_account.main.arn}"
2323
}
2424
}

web-service/main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ module "task" {
186186
memory = "${var.memory}"
187187
cpu = "${var.cpu}"
188188
working_directory = "${var.working_directory}"
189-
log_driver = "${var.log_driver}"
189+
log_driver = "${var.log_driver}"
190190

191191
ports = <<EOF
192192
[

0 commit comments

Comments
 (0)