Open CelestialGuru opened 3 years ago
Trying to upload cloudformation-template-service.yaml in AWS CloudFormation I get the following exception:
cloudformation-template-service.yaml
Cannot render the template because of an error.: YAMLException: duplicated mapping key at line 71, column 71: ... er.stickiness.cookieName: "true" ^
The following is a snippet from cloudformation-template-service.yaml lines 65 - 71:
traefik.backend.loadbalancer.stickiness.cookieName: !Join - . - - cookie - !Join [ "-", [ !Sub "${ApplicationName}", !Select ["1", !Split [":", !Ref ServiceImage]] ] ] - !Ref Environment - !Ref Domain traefik.backend.loadbalancer.stickiness.cookieName: "true"
It is clear that the key value traefik.backend.loadbalancer.stickiness.cookieName is in there twice.
traefik.backend.loadbalancer.stickiness.cookieName
Trying to upload
cloudformation-template-service.yaml
in AWS CloudFormation I get the following exception:The following is a snippet from
cloudformation-template-service.yaml
lines 65 - 71:It is clear that the key value
traefik.backend.loadbalancer.stickiness.cookieName
is in there twice.