Skip to content

Commit e4d6ab5

Browse files
committed
Applying changes from terraform fmt command
1 parent c77064d commit e4d6ab5

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

examples/test/main.tf

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@ module "base-network" {
77
version = "2.0.7"
88
name_preffix = "test-networking"
99
vpc_cidr_block = "192.168.0.0/16"
10-
availability_zones = [ "us-east-1a", "us-east-1b", "us-east-1c", "us-east-1d" ]
11-
public_subnets_cidrs_per_availability_zone = [ "192.168.0.0/19", "192.168.32.0/19", "192.168.64.0/19", "192.168.96.0/19" ]
12-
private_subnets_cidrs_per_availability_zone = [ "192.168.128.0/19", "192.168.160.0/19", "192.168.192.0/19", "192.168.224.0/19" ]
10+
availability_zones = ["us-east-1a", "us-east-1b", "us-east-1c", "us-east-1d"]
11+
public_subnets_cidrs_per_availability_zone = ["192.168.0.0/19", "192.168.32.0/19", "192.168.64.0/19", "192.168.96.0/19"]
12+
private_subnets_cidrs_per_availability_zone = ["192.168.128.0/19", "192.168.160.0/19", "192.168.192.0/19", "192.168.224.0/19"]
1313
}
1414

1515
module "cluster" {

main.tf

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ resource "aws_iam_role" "scheduled_task_cw_event_role" {
88

99
data "template_file" "scheduled_task_cw_event_role_cloudwatch_policy" {
1010
template = file("${path.module}/files/iam/scheduled_task_cw_event_role_cloudwatch_policy.json")
11-
vars = {
11+
vars = {
1212
TASK_EXECUTION_ROLE_ARN = var.ecs_execution_task_role_arn
1313
}
1414
}
@@ -45,11 +45,11 @@ resource "aws_cloudwatch_event_target" "ecs_scheduled_task" {
4545
input_path = var.event_target_input_path
4646
role_arn = aws_iam_role.scheduled_task_cw_event_role.arn
4747
ecs_target {
48-
task_definition_arn = var.event_target_ecs_target_task_definition_arn
49-
task_count = var.event_target_ecs_target_task_count
50-
platform_version = var.event_target_ecs_target_platform_version
51-
launch_type = "FARGATE"
52-
group = var.event_target_ecs_target_group
48+
task_definition_arn = var.event_target_ecs_target_task_definition_arn
49+
task_count = var.event_target_ecs_target_task_count
50+
platform_version = var.event_target_ecs_target_platform_version
51+
launch_type = "FARGATE"
52+
group = var.event_target_ecs_target_group
5353
network_configuration {
5454
subnets = var.event_target_ecs_target_subnets
5555
security_groups = var.event_target_ecs_target_security_groups

0 commit comments

Comments
 (0)