generated from ministryofjustice/template-repository
-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update Patch Manager to handle linux patching (#5479)
* Patch manager module changes
- Loading branch information
Showing
8 changed files
with
124 additions
and
33 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,25 @@ | ||
module "development" { | ||
count = local.is-development == true ? 1 : 0 | ||
source = "../../modules/patch_manager" | ||
application = "hmpps-domain-services" | ||
environment = "development" | ||
schedule = "cron(15 23 ? * * *)" # 11.15pm today | ||
count = local.is-development == true ? 1 : 0 | ||
source = "../../modules/patch_manager" | ||
application = "hmpps-domain-services" | ||
environment = "development" | ||
predefined_baseline = "AWS-RedHatDefaultPatchBaseline" | ||
operating_system = "REDHAT_ENTERPRISE_LINUX" | ||
schedule = "cron(15 23 ? * * *)" # 11.15pm today | ||
target_tag = { | ||
"environment-name" = "hmpps-domain-services-development" | ||
} | ||
} | ||
|
||
module "test" { | ||
count = local.is-test == true ? 1 : 0 | ||
source = "../../modules/patch_manager" | ||
application = "hmpps-domain-services" | ||
environment = "test" | ||
schedule = "cron(15 23 ? * * *)" # 11.15pm today | ||
count = local.is-test == true ? 1 : 0 | ||
source = "../../modules/patch_manager" | ||
application = "hmpps-domain-services" | ||
environment = "test" | ||
predefined_baseline = "AWS-RedHatDefaultPatchBaseline" | ||
operating_system = "REDHAT_ENTERPRISE_LINUX" | ||
schedule = "cron(15 23 ? * * *)" # 11.15pm today | ||
target_tag = { | ||
"environment-name" = "hmpps-domain-services-test" | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters