Browse Source

Merge pull request #618 from mdr-engineering/feature/ftd_MSOCI-2134_LeaveCMsOn

Updates Schedule to Leave Test CMs On
Frederick Damstra 3 years ago
parent
commit
c9904563c5

+ 2 - 0
test/aws-us-gov/mdr-test-c2/071-instance-salt-master/terragrunt.hcl

@@ -33,6 +33,8 @@ inputs = {
   tags = {
     Purpose = "Salt Master"
     Terraform = "aws/${basename(get_parent_terragrunt_dir())}/${path_relative_to_include()}/"
+    # When indexers come online in the middle of the night, they need a salt master or they don't rejoin
+    Schedule = "24x7x365"
   }
   instance_name = "salt-master"
   instance_type = local.account_vars.locals.salt_master_instance_type

+ 1 - 0
test/aws-us-gov/mdr-test-c2/080-instance-repo-server/terragrunt.hcl

@@ -33,6 +33,7 @@ inputs = {
   tags = {
     Purpose = "Repo Server - Package Repository for Servers"
     Terraform = "aws/${basename(get_parent_terragrunt_dir())}/${path_relative_to_include()}/"
+    Schedule = "24x7x365"
   }
   instance_name = "reposerver" # TODO: Fix this when actual swap is taking place.
   instance_type = local.account_vars.locals.repo_server_instance_type

+ 1 - 0
test/aws-us-gov/mdr-test-c2/150-splunk-cluster-master/terragrunt.hcl

@@ -33,6 +33,7 @@ inputs = {
   tags = {
     Purpose = "Splunk Cluster Master"
     Terraform = "aws/${basename(get_parent_terragrunt_dir())}/${path_relative_to_include()}/"
+    Schedule = "24x7x365"
   }
   prefix = local.account_vars.locals.splunk_prefix
   instance_type = local.account_vars.locals.instance_types["splunk-cm"]

+ 1 - 0
test/aws-us-gov/mdr-test-modelclient/150-splunk-cluster-master/terragrunt.hcl

@@ -34,6 +34,7 @@ inputs = {
   tags = {
     Purpose = "Splunk Cluster Master"
     Terraform = "aws/${basename(get_parent_terragrunt_dir())}/${path_relative_to_include()}/"
+    Schedule = "24x7x365"
   }
   prefix = local.account_vars.locals.splunk_prefix
   instance_type = local.account_vars.locals.instance_types["splunk-cm"]