Skip to content

Commit a3e7cb6

Browse files
authored
Merge pull request #8024 from zalando-incubator/ssm-doc-policy
Add retention policies to the SSM-SessionManagerRunShell Document
2 parents de35271 + 323f001 commit a3e7cb6

File tree

1 file changed

+2
-8
lines changed

1 file changed

+2
-8
lines changed

cluster/cluster.yaml

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2130,6 +2130,8 @@ Resources:
21302130

21312131
SessionManagerPreferencesDocument:
21322132
Type: AWS::SSM::Document
2133+
DeletionPolicy: Retain
2134+
UpdateReplacePolicy: Retain
21332135
Properties:
21342136
Tags:
21352137
- Key: InfrastructureComponent
@@ -2146,14 +2148,6 @@ Resources:
21462148
schemaVersion: '1.0'
21472149
description: Document to hold regional settings for Session Manager
21482150
sessionType: Standard_Stream
2149-
inputs:
2150-
cloudWatchLogGroupName: !Ref SessionManagerLogGroup
2151-
cloudWatchEncryptionEnabled: false
2152-
cloudWatchStreamingEnabled: true
2153-
runAsEnabled: false
2154-
idleSessionTimeout: '20'
2155-
shellProfile:
2156-
linux: 'bash'
21572151

21582152
{{- if eq .Cluster.Region "eu-central-1"}}
21592153
SessionManagerSubscriptionFilter:

0 commit comments

Comments
 (0)