Skip to content

Commit fbadf17

Browse files
committed
chore(examples): apply terraform fmt
1 parent a7c348f commit fbadf17

File tree

2 files changed

+19
-19
lines changed
  • examples
    • autoscaling-scheduler-terminate-instances
    • documentdb-scheduler

2 files changed

+19
-19
lines changed

examples/autoscaling-scheduler-terminate-instances/main.tf

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -107,15 +107,15 @@ resource "aws_autoscaling_group" "not_scheduled" {
107107
### Terraform modules ###
108108

109109
module "autoscaling-stop-friday" {
110-
source = "../../"
111-
name = "stop-autoscaling"
112-
cloudwatch_schedule_expression = "cron(0 23 ? * FRI *)"
113-
schedule_action = "stop"
114-
ec2_schedule = "false"
115-
rds_schedule = "false"
116-
autoscaling_schedule = "true"
117-
autoscaling_terminate_instances = "true"
118-
cloudwatch_alarm_schedule = "true"
110+
source = "../../"
111+
name = "stop-autoscaling"
112+
cloudwatch_schedule_expression = "cron(0 23 ? * FRI *)"
113+
schedule_action = "stop"
114+
ec2_schedule = "false"
115+
rds_schedule = "false"
116+
autoscaling_schedule = "true"
117+
autoscaling_terminate_instances = "true"
118+
cloudwatch_alarm_schedule = "true"
119119

120120
scheduler_tag = {
121121
key = "tostop"

examples/documentdb-scheduler/main.tf

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,11 @@ resource "aws_kms_key" "scheduler" {
66
}
77

88
resource "aws_docdb_cluster" "scheduled" {
9-
cluster_identifier = "docdb-cluster-scheduled"
10-
engine = "docdb"
11-
master_username = "foo"
12-
master_password = "mustbeeightchars"
13-
skip_final_snapshot = true
9+
cluster_identifier = "docdb-cluster-scheduled"
10+
engine = "docdb"
11+
master_username = "foo"
12+
master_password = "mustbeeightchars"
13+
skip_final_snapshot = true
1414
tags = {
1515
tostop = "true"
1616
terratest_tag = var.random_tag
@@ -28,11 +28,11 @@ resource "aws_docdb_cluster_instance" "scheduled" {
2828
}
2929

3030
resource "aws_docdb_cluster" "not_scheduled" {
31-
cluster_identifier = "docdb-cluster-not-scheduled"
32-
engine = "docdb"
33-
master_username = "foo"
34-
master_password = "mustbeeightchars"
35-
skip_final_snapshot = true
31+
cluster_identifier = "docdb-cluster-not-scheduled"
32+
engine = "docdb"
33+
master_username = "foo"
34+
master_password = "mustbeeightchars"
35+
skip_final_snapshot = true
3636
tags = {
3737
tostop = "false"
3838
terratest_tag = var.random_tag

0 commit comments

Comments
 (0)