Skip to content

Commit 42e8559

Browse files
committed
Fixed formatting
1 parent 4612040 commit 42e8559

File tree

6 files changed

+11
-11
lines changed

6 files changed

+11
-11
lines changed

examples/complete-ecs/main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ locals {
1111
}
1212

1313
module "vpc" {
14-
source = "terraform-aws-modules/vpc/aws"
14+
source = "terraform-aws-modules/vpc/aws"
1515
version = "~> 2.0"
1616

1717
name = local.name

examples/complete-ecs/service-hello-world/main.tf

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,12 +27,12 @@ EOF
2727
}
2828

2929
resource "aws_ecs_service" "hello_world" {
30-
name = "hello_world"
31-
cluster = var.cluster_id
30+
name = "hello_world"
31+
cluster = var.cluster_id
3232
task_definition = aws_ecs_task_definition.hello_world.arn
3333

3434
desired_count = 1
3535

36-
deployment_maximum_percent = 100
36+
deployment_maximum_percent = 100
3737
deployment_minimum_healthy_percent = 0
3838
}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
variable "cluster_id" {
22
description = "The ECS cluster ID"
3-
type = string
3+
type = string
44
}

modules/ecs-instance-profile/main.tf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,11 @@ resource "aws_iam_instance_profile" "this" {
2424
}
2525

2626
resource "aws_iam_role_policy_attachment" "ecs_ec2_role" {
27-
role = aws_iam_role.this.id
27+
role = aws_iam_role.this.id
2828
policy_arn = "arn:aws:iam::aws:policy/service-role/AmazonEC2ContainerServiceforEC2Role"
2929
}
3030

3131
resource "aws_iam_role_policy_attachment" "ecs_ec2_cloudwatch_role" {
32-
role = aws_iam_role.this.id
32+
role = aws_iam_role.this.id
3333
policy_arn = "arn:aws:iam::aws:policy/CloudWatchLogsFullAccess"
3434
}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
variable "name" {
22
description = "Name to be used on all the resources as identifier"
3-
type = string
3+
type = string
44
}

variables.tf

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
variable "create_ecs" {
22
description = "Controls if ECS should be created"
3-
type = bool
3+
type = bool
44
default = true
55
}
66

77
variable "name" {
88
description = "Name to be used on all the resources as identifier, also the name of the ECS cluster"
9-
type = string
9+
type = string
1010
}
1111

1212
variable "tags" {
1313
description = "A map of tags to add to ECS Cluster"
14-
type = map(string)
14+
type = map(string)
1515
default = {}
1616
}

0 commit comments

Comments
 (0)