File tree Expand file tree Collapse file tree 1 file changed +4
-11
lines changed Expand file tree Collapse file tree 1 file changed +4
-11
lines changed Original file line number Diff line number Diff line change @@ -2125,28 +2125,21 @@ Resources:
2125
2125
SessionManagerLogGroup :
2126
2126
Type : AWS::Logs::LogGroup
2127
2127
Properties :
2128
- LogGroupName : " SessionManager-{{accountID .Cluster.InfrastructureAccount}}-{{ .Cluster.LocalID}}"
2128
+ LogGroupName : " SessionManager-{{.Cluster.LocalID}}"
2129
2129
RetentionInDays : 30
2130
2130
2131
2131
SessionManagerPreferencesDocument :
2132
2132
Type : AWS::SSM::Document
2133
2133
DeletionPolicy : Retain
2134
2134
UpdateReplacePolicy : Retain
2135
2135
Properties :
2136
- Tags :
2137
- - Key : InfrastructureComponent
2138
- Value : " false"
2139
2136
UpdateMethod : NewVersion
2140
- {{ if eq .Cluster.Environment "e2e" }} # test for valid cloudformation in e2e tests, but do not set account level preferences
2141
- Name : " SSM-SessionManagerRunShell-{{.Cluster.LocalID}}"
2142
- {{ else }}
2143
- Name : " SSM-SessionManagerRunShell"
2144
- {{- end }}
2137
+ Name : " SSM-SessionManager-{{.Cluster.Alias}}"
2145
2138
DocumentFormat : YAML
2146
2139
DocumentType : Session
2147
2140
Content :
2148
2141
schemaVersion : ' 1.0'
2149
- description : Document to hold regional settings for Session Manager
2142
+ description : Document to hold settings for Kubernetes EC2 SSM sessions
2150
2143
sessionType : Standard_Stream
2151
2144
2152
2145
{{- if eq .Cluster.Region "eu-central-1"}}
@@ -2155,7 +2148,7 @@ Resources:
2155
2148
Properties :
2156
2149
LogGroupName : !Ref SessionManagerLogGroup
2157
2150
RoleArn : !GetAtt SessionManagerSubscriptionFilterRole.Arn
2158
- FilterName : " SessionManager-{{accountID .Cluster.InfrastructureAccount}}-{{ .Cluster.LocalID}}"
2151
+ FilterName : " SessionManager-{{.Cluster.LocalID}}"
2159
2152
FilterPattern : " "
2160
2153
DestinationArn : " {{.Cluster.ConfigItems.session_manager_destination_arn}}"
2161
2154
You can’t perform that action at this time.
0 commit comments