smoketurner / serverless-vpc-plugin

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

Security Groups are required to be in the same VPC #765

Closed anilskalyane closed 2 years ago

anilskalyane commented 3 years ago

Getting this error while setting up a VPC using this plugin:

provider:
  name: aws
  runtime: nodejs12.x
  lambdaHashingVersion: '20201221'
  stage: ${opt:stage, 'dev'}
  region: ${file(serverless.env.yml):${self:custom.stage}.REGION}
  vpc:
    securityGroupIds:
      - sg-xxxxxxxx
    subnetIds:
      - subnet-xxxxxx
      - subnet-xxxxxx
      - subnet-xxxxxx

Both subnet and security groups are there in the same VPC.

kyeljmd commented 2 years ago

Do you have an answer to this? I just encountered this as well

github-actions[bot] commented 2 years ago

This issue is stale because it has been open 90 days with no activity. Remove the "stale" label or comment or this will be closed in 14 days.