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.
CC-2923: SSM command for executing 'yum update'.
- Loading branch information
Showing
6 changed files
with
52 additions
and
6 deletions.
There are no files selected for viewing
15 changes: 15 additions & 0 deletions
15
terraform/environments/ccms-ebs-upgrade/ssm-document-system-update.yaml
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 |
---|---|---|
@@ -0,0 +1,15 @@ | ||
# ssm-document-system-update.yaml | ||
--- | ||
schemaVersion: "2.2" | ||
description: Run 'yum -y update'. | ||
mainSteps: | ||
- name: YumUpdate | ||
action: aws:runShellScript | ||
isEnd: true | ||
precondition: | ||
StringEquals: | ||
- platformType | ||
- Linux | ||
inputs: | ||
runCommand: | ||
- "yum -y update" |
File renamed without changes.
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
File renamed without changes.
15 changes: 15 additions & 0 deletions
15
terraform/environments/ccms-ebs/ccms-ssm-document-system-update.yaml
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 |
---|---|---|
@@ -0,0 +1,15 @@ | ||
# ccms-ssm-create-backup-snapshots.yaml | ||
--- | ||
schemaVersion: "2.2" | ||
description: Run 'yum -y update'. | ||
mainSteps: | ||
- name: YumUpdate | ||
action: aws:runShellScript | ||
isEnd: true | ||
precondition: | ||
StringEquals: | ||
- platformType | ||
- Linux | ||
inputs: | ||
runCommand: | ||
- "yum -y update" |
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