Skip to content

Commit

Permalink
Merge pull request #11 from aws-samples/cron-fix
Browse files Browse the repository at this point in the history
fix: adjust cron
  • Loading branch information
farhanangullia authored Jul 13, 2023
2 parents 625de3f + 5c78ff9 commit 648458c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/mwaa/switch/config.auto.tfvars
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
source_location = "https://github.com/aws-samples/aws-terraform-scheduled-switch.git"
kill_resources_schedule = "cron(0 1/1 * * ? *)"
revive_resources_schedule = "cron(45 1/1 * * ? *)"
kill_resources_schedule = "cron(40 1/1 * * ? *)"
revive_resources_schedule = "cron(0 1/1 * * ? *)"
init_command = "terraform -chdir=examples/mwaa/environment init -backend-config=\"bucket=REPLACE_ME\" -backend-config=\"key=REPLACE_ME\" -backend-config=\"region=REPLACE_ME\" -input=false" # Replace all fields of REPLACE_ME with your s3 backend configuration values that is used to deploy the MWAA environment.
kill_command = "terraform -chdir=examples/mwaa/environment apply -input=false -target=aws_mwaa_environment.this -var enabled=false -auto-approve"
revive_command = "terraform -chdir=examples/mwaa/environment apply -input=false -target=aws_mwaa_environment.this -var enabled=true -auto-approve"
Expand Down

0 comments on commit 648458c

Please sign in to comment.