smoketurner / serverless-vpc-plugin

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

WebBucket.Arn reference invalid #1109

Closed johnny-walt17 closed 1 year ago

johnny-walt17 commented 1 year ago

Hello guys, after installing this plugin and adding the necessary serverless yml configs. Upon deploy i'm getting this error

Screenshot 2023-04-17 at 5 03 19 PM

I tried searching related WebBucket.Arn error into the docs and references but I found it in one of the code blocks inside https://github.com/smoketurner/serverless-vpc-plugin/blob/master/src/flow_logs.js at line 95 & 98.

I immediately thought that the code might needed to be changed here, this should've been LogBucket instead of the WebBucket; which causes the error.

Please let me know your thoughts!

jplock commented 1 year ago

Yes you are correct, it should be LogBucket

jplock commented 1 year ago

Fixed in https://github.com/smoketurner/serverless-vpc-plugin/commit/27e71e962e88cf7add693ce0be1a9e829e4fc1ad and published as v1.0.6