Skip to content

Commit

Permalink
chore(examples): apply terraform fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
diodonfrost committed Aug 8, 2023
1 parent a7c348f commit fbadf17
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 19 deletions.
18 changes: 9 additions & 9 deletions examples/autoscaling-scheduler-terminate-instances/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -107,15 +107,15 @@ resource "aws_autoscaling_group" "not_scheduled" {
### Terraform modules ###

module "autoscaling-stop-friday" {
source = "../../"
name = "stop-autoscaling"
cloudwatch_schedule_expression = "cron(0 23 ? * FRI *)"
schedule_action = "stop"
ec2_schedule = "false"
rds_schedule = "false"
autoscaling_schedule = "true"
autoscaling_terminate_instances = "true"
cloudwatch_alarm_schedule = "true"
source = "../../"
name = "stop-autoscaling"
cloudwatch_schedule_expression = "cron(0 23 ? * FRI *)"
schedule_action = "stop"
ec2_schedule = "false"
rds_schedule = "false"
autoscaling_schedule = "true"
autoscaling_terminate_instances = "true"
cloudwatch_alarm_schedule = "true"

scheduler_tag = {
key = "tostop"
Expand Down
20 changes: 10 additions & 10 deletions examples/documentdb-scheduler/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@ resource "aws_kms_key" "scheduler" {
}

resource "aws_docdb_cluster" "scheduled" {
cluster_identifier = "docdb-cluster-scheduled"
engine = "docdb"
master_username = "foo"
master_password = "mustbeeightchars"
skip_final_snapshot = true
cluster_identifier = "docdb-cluster-scheduled"
engine = "docdb"
master_username = "foo"
master_password = "mustbeeightchars"
skip_final_snapshot = true
tags = {
tostop = "true"
terratest_tag = var.random_tag
Expand All @@ -28,11 +28,11 @@ resource "aws_docdb_cluster_instance" "scheduled" {
}

resource "aws_docdb_cluster" "not_scheduled" {
cluster_identifier = "docdb-cluster-not-scheduled"
engine = "docdb"
master_username = "foo"
master_password = "mustbeeightchars"
skip_final_snapshot = true
cluster_identifier = "docdb-cluster-not-scheduled"
engine = "docdb"
master_username = "foo"
master_password = "mustbeeightchars"
skip_final_snapshot = true
tags = {
tostop = "false"
terratest_tag = var.random_tag
Expand Down

0 comments on commit fbadf17

Please sign in to comment.