sigdba / sig-shared-sceptre

Shared templates for Sceptre/CloudFormation
2 stars 0 forks source link

MultihostElb: Support more than two paths in rule #114

Open dboitnot opened 1 year ago

dboitnot commented 1 year ago

If you specify more than two paths in a listener rule you will get an error from the AWS API.

        - hosts: pprd.*
          path:
            - /EmployeeSelfService
            - /FacultySelfService
            - /FinanceSelfService
          target_port: 8080
          target_protocol: HTTP
          health_check:
            path: /EmployeeSelfService/actuator/health
          targets:
            - import_id: xula-pprd-server-staff1-InstanceId
              import_sg: xula-pprd-server-staff1-InstanceSg

The path list should be chunked to create multiple rules if necessary.