Skip to content

Commit d550b2d

Browse files
authored
Merge pull request #7952 from zalando-incubator/update-session-manager-logging
Add region condition to SSM session logging
2 parents 8bf2c90 + f8ea44a commit d550b2d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

cluster/cluster.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2148,6 +2148,7 @@ Resources:
21482148
shellProfile:
21492149
linux: 'bash'
21502150

2151+
{{- if eq .Cluster.Region "eu-central-1"}}
21512152
SessionManagerSubscriptionFilter:
21522153
Type: AWS::Logs::SubscriptionFilter
21532154
Properties:
@@ -2181,6 +2182,7 @@ Resources:
21812182
Resource:
21822183
- !GetAtt SessionManagerLogGroup.Arn
21832184
RoleName: "SessionManagerSubscriptionFilterRole"
2185+
{{- end }}
21842186

21852187
AWSNodeDecommissionerIAMRole:
21862188
Type: 'AWS::IAM::Role'

0 commit comments

Comments
 (0)