serverless/serverless

Custom resource lambda like `custom-resource-apigw-cw-role` is not in vpc

Open

#11.856 aperta il 23 mar 2023

Vedi su GitHub
 (7 commenti) (2 reazioni) (1 assegnatario)JavaScript (5734 fork)batch import
bugcat/aws-vpchelp wanted

Metriche repository

Star
 (46.915 star)
Metriche merge PR
 (Merge medio 1g 15h) (34 PR mergiate in 30 g)

Descrizione

Are you certain it's a bug?

  • Yes, it looks like a bug

Is the issue caused by a plugin?

  • It is not a plugin issue

Are you using the latest v3 release?

  • Yes, I'm using the latest v3 release

Is there an existing issue for this?

  • I have searched existing issues, it hasn't been reported yet

Issue description

When an API gateway log is enabled, serverless will deploy a auto created lambda has the suffix custom-resource-apigw-cw-role in the name. I have configured provider -> vpc in the serverless.ym file which attach VPC to all lambdas in this stack. But this lambda is missing from VPC. Is there a way to configure VPC on this lambda?

Service configuration (serverless.yml) content

NA

Command name and used flags

serverless deploy

Command output

command run successfully

Environment information

not applicable

Guida contributor