2017-10-18 54 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'

回答