Unable to pass list on CLI for Type: List<AWS::EC2::Subnet::Id> #2478
Labels
closing-soon
This issue will automatically close in 4 days unless further comments are made.
cloudformation
guidance
Question that needs advice or information.
Issue #1529 isn't solving my problem here.
My CLI version is:
on OSX Sierra
param definition
Error 1: Must be type list of string
Value of property SubnetIds must be of type List of String
the above is output from cfn events with any of the following:
ParameterKey=VPCSubnetIds,ParameterValue='subnet-f605a0bf\,subnet-ce3cbfa9'
ParameterKey=VPCSubnetIds,ParameterValue=\"subnet-f605a0bf,subnet-ce3cbfa9\"
Error 2: Wrong List type error
Invalid type for parameter Parameters[2].ParameterValue, value: [u'subnet-f605a0bf', u'subnet-ce3cbfa9'], type: <type 'list'>, valid types: <type 'basestring'>
the above is output from cli with any of the following:
ParameterKey=VPCSubnetIds,ParameterValue='subnet-f605a0bf,subnet-ce3cbfa9'
ParameterKey=VPCSubnetIds,ParameterValue=subnet-f605a0bf,subnet-ce3cbfa9
ParameterKey=VPCSubnetIds,ParameterValue='"subnet-f605a0bf","subnet-ce3cbfa9"'
ParameterKey=VPCSubnetIds,ParameterValue="'subnet-f605a0bf','subnet-ce3cbfa9'"
ParameterKey=VPCSubnetIds,ParameterValue='subnet-f605a0bf','subnet-ce3cbfa9'
'ParameterKey=VPCSubnetIds,ParameterValue="subnet-f605a0bf","subnet-ce3cbfa9"'
The value is being used here:
This should pull a list of strings into the
!Ref VPCSubnetIds
correct?Is it broken? Or am I broken?
The text was updated successfully, but these errors were encountered: