Skip to content

Commit 7d5856d

Browse files
authored
Merge pull request #7963 from zalando-incubator/session-manager-e2e
Do not create account level Session Manager preferences document during e2e
2 parents 41dbbde + de31a76 commit 7d5856d

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

cluster/cluster.yaml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2132,7 +2132,11 @@ Resources:
21322132
Type: AWS::SSM::Document
21332133
Properties:
21342134
UpdateMethod: NewVersion
2135-
Name: SSM-SessionManagerRunShell
2135+
{{ if eq .Cluster.Environment "e2e" }} # test for valid cloudformation in e2e tests, but do not set account level preferences
2136+
Name: "SSM-SessionManagerRunShell-{{.Cluster.LocalID}}"
2137+
{{ else }}
2138+
Name: "SSM-SessionManagerRunShell"
2139+
{{- end }}
21362140
DocumentFormat: YAML
21372141
DocumentType: Session
21382142
Content:

0 commit comments

Comments
 (0)