-
Notifications
You must be signed in to change notification settings - Fork 195
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't use parameters of type List<>
#282
Comments
@ndeloof did you solved that issue maybe? |
nope |
I need also to achieve this - seems that |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I'd like to define a template parameter as
List<AWS::EC2::Subnet::Id>
but I can't set directly
Subnets: cloudformation.Ref("SubnetIds")
as expected API type is[]string
whileRef
return a singlestring
.I tried using
[]string{ cloudformation.Split(",", cloudformation.Ref("SubnetIds"))
, this produces template:This seems valid to me, but fail to validate :
ValidationError: Template error: every Fn::Split object requires two parameters, (1) a string delimiter and (2) a string to be split or a function that returns a string to be split.
Did I miss something ? Is there a better approach to manage
List<>
references ?The text was updated successfully, but these errors were encountered: