2017-10-18 63 views
0

我试图将子网ID列表传递给云形成模板,但出现错误。我做错了什么?无法传递子网ID列表作为参数

参数在模板:从JSON文件

ClusterSubnets: 
    Description: Subnets, in the same VPC where cluster ec2 instances reside. 
       Typically private. Use mutiples, each in a different AZ for HA. 
    Type: "List<AWS::EC2::Subnet::Id>" 

参数片段:

{ 
    "ParameterKey": "ClusterSubnets", 
    "ParameterValue": [ "subnet-8fc8c4f7" ] 
    }, 

结果: 参数验证失败: 无效类型参数的参数[1] .ParameterValue,值: [u'subnet-8fc8c4f7'],请键入:type'list',有效类型:键入'basestring'

回答