Skip to content

Commit

Permalink
Patch module test (#7085)
Browse files Browse the repository at this point in the history
* patch module test
  • Loading branch information
pavmoj authored Jul 15, 2024
1 parent c1f1e00 commit 09230fc
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions terraform/environments/hmpps-domain-services/patch.tf
Original file line number Diff line number Diff line change
Expand Up @@ -59,17 +59,20 @@ module "test-2c" {
module "development" {
#checkov:skip=CKV_TF_1:Module registry does not support commit hashes for versions
# This is an internal module so commit hashes are not needed
source = "github.com/ministryofjustice/modernisation-platform-terraform-ssm-patching.git?ref=v3.0.0"
source = "github.com/ministryofjustice/modernisation-platform-terraform-ssm-patching.git?ref=ssm-patch-module-refactor"
count = local.is-development == true ? 1 : 0
providers = {
aws.bucket-replication = aws
}

account_number = local.environment_management.account_ids[terraform.workspace]
application_name = local.application_name
approval_days = "0"
patch_schedule = "cron(0 21 ? * TUE#2 *)" # 2nd Tues @ 9pm
operating_system = "REDHAT_ENTERPRISE_LINUX"
account_number = local.environment_management.account_ids[terraform.workspace]
application_name = local.application_name
approval_days = "0"
patch_schedule = "cron(0 21 ? * TUE#2 *)" # 2nd Tues @ 9pm
operating_system = "REDHAT_ENTERPRISE_LINUX"
patch_classification = ["Security", "Bugfix"]
severity = ["Critical", "Important"]
product = ["RedhatEnterpriseLinux8.5"]

tags = merge(
local.tags,
Expand Down

0 comments on commit 09230fc

Please sign in to comment.