Skip to content

Commit de31a76

Browse files
committed
Skip Session Manager preferences document creation in e2e
1 parent 41dbbde commit de31a76

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)