From e40655fdb9d3c66cb3b5dd4e2802db1f973419bd Mon Sep 17 00:00:00 2001 From: SahidKhan89 Date: Thu, 15 Feb 2024 11:20:47 +0000 Subject: [PATCH] CC-2383: NonProd FTP and MailRelay scheduling to stop out of hours --- terraform/environments/ccms-ebs/ccms-ec2-ftp.tf | 1 - terraform/environments/ccms-ebs/ccms-ec2-mailrelay.tf | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/terraform/environments/ccms-ebs/ccms-ec2-ftp.tf b/terraform/environments/ccms-ebs/ccms-ec2-ftp.tf index 967bf731527..887f97131af 100644 --- a/terraform/environments/ccms-ebs/ccms-ec2-ftp.tf +++ b/terraform/environments/ccms-ebs/ccms-ec2-ftp.tf @@ -56,7 +56,6 @@ resource "aws_instance" "ec2_ftp" { tags = merge(local.tags, { Name = lower(format("ec2-%s-%s-FTP", local.application_name, local.environment)) }, - { instance-scheduling = "skip-scheduling" }, { backup = "true" } ) diff --git a/terraform/environments/ccms-ebs/ccms-ec2-mailrelay.tf b/terraform/environments/ccms-ebs/ccms-ec2-mailrelay.tf index 080066eab96..58bb894faf5 100644 --- a/terraform/environments/ccms-ebs/ccms-ec2-mailrelay.tf +++ b/terraform/environments/ccms-ebs/ccms-ec2-mailrelay.tf @@ -47,7 +47,7 @@ resource "aws_instance" "ec2_mailrelay" { tags = merge(local.tags, { Name = lower(format("ec2-%s-%s-mailrelay", local.application_name, local.environment)) }, - { instance-scheduling = "skip-scheduling" }, + { instance-scheduling = "skip-auto-start" }, { backup = "true" } )