Skip to content

Commit

Permalink
do not pass alias from backend to env controller
Browse files Browse the repository at this point in the history
  • Loading branch information
Lou1415926 committed Dec 11, 2023
1 parent d42cf47 commit f869d7f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ EnvControllerAction:
Properties:
ServiceToken: !GetAtt EnvControllerFunction.Arn
Workload: !Ref WorkloadName
{{- if and (and .ALBListener .ALBListener.Aliases) (not .ImportedALB) }}
{{- if and (and .ALBListener .ALBListener.Aliases) (not .ImportedALB) (eq $.WorkloadType "Load Balanced Web Service")}}
Aliases: {{ fmtSlice (quoteSlice .ALBListener.Aliases) }}
{{- end}}
EnvStack: !Sub '${AppName}-${EnvName}'
Expand Down

0 comments on commit f869d7f

Please sign in to comment.