Skip to content

Commit f8ea44a

Browse files
committed
add region condition to session logging subscription filter
1 parent 8bf2c90 commit f8ea44a

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)