smoketurner / serverless-vpc-plugin

Serverless Plugin to create a VPC
MIT License
88 stars 35 forks source link

Update README.md #1110

Closed LinguineCode closed 1 year ago

LinguineCode commented 1 year ago

This PR fixes some outdated advice in the README. It's a simple fix and improvement

I was getting this error:

Cannot resolve serverless.yml: Variables resolution errored with:

  • Cannot resolve variable at "provider.vpc.subnetIds": Parameter name: can't be prefixed with "ssm" (case-insensitive). If formed as a path, it can consist of sub-paths divided by slash symbol; each sub-path can be formed as a mix of letters, numbers and the following 3 symbols .-_

After researching, it turns out that the ~split feature is dead in V3 release of serverless-framework, see comment here: https://github.com/serverless/serverless/pull/6365#issuecomment-1104914038. sls will now automatically split the list for you.