Formatted input-template error: each element by default should be a string (cloud information template problems)

I am trying to validate a cloudformation pattern, and cfn-validate returns a useless error

"Formatted input-template error: each member must be a string by default."

Does anyone have an idea on debugging this? It would be great if it cfn- validatereturned errors, or at least the names of the resources when throwing errors.

CloudformationTemplates are incredibly painful for debugging.

+5
source share
2 answers

, Parameter , - ( , ).

- , .

+9

CommaDelimitedList cfn.

  LoadBalancerSubnets:
    Description: List of subnets for the ApplicationLoadBalancer
    Type: CommaDelimitedList
    Default: [ "subnet-123456", "subnet-012345" ]

CommaDelimitedList. , , , String, . , , :

  LoadBalancerSubnets:
    Description: List of subnets for the ApplicationLoadBalancer
    Type: CommaDelimitedList
    Default: "subnet-123456,subnet-012345"

.

, , .

, , , .

0

All Articles