Serverless-framework expects the values at `vpc.se...
# help
b
Serverless-framework expects the values at
vpc.securityGroupIds
&
vpv.subnetIds
to be Arrays. The easier solution is just wrap your
${ssm:...}
calls in `[]`'s So for example:
Copy code
vpc:
  securityGroupIds: [${ssm:terraform-output/$self:provider.stage}/vpc/security-groups/default/id/value}]
  subnetIds: [${ssm:terraform-output/$self:provider.stage}/vpc/subnets/private/ids/value}]
r
tried didnt work 😞
t
Hey @Ram Ganesan just so you're aware this is the SST community - not the serverless-framework community
you might have more luck if you try there
r
Resolved by adding ~splits at the end
Copy code
${ssm:terraform-output/$self:provider.stage}/vpc/security-groups/default/id/value}~splits