Skip to content
This repository was archived by the owner on Jan 29, 2024. It is now read-only.

Error in service template #3

@CelestialGuru

Description

@CelestialGuru

Trying to upload cloudformation-template-service.yaml in AWS CloudFormation I get the following exception:

 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions