serverless-vpc-peering-options

0.1.0 • Public • Published

serverless-vpc-peering-options

Plugin to set VPC peering options after deployment that are unavailable via Cloudformation

serverless npm version MIT licensed

Why

Cloudformation allows you to create VPC peering connections, which is great - but it then doesn't allow you to set the options assoicated with that peering arrangement. You can only do this from CLI, console or (now) this plugin!

Usage

Installation

npm install serverless-vpc-peering-options --save-dev

Configuration

plugins:
  - serverless-vpc-peering-options

custom:
  vpcPeerOptions:
    peer: YourPeeringResource
    accepterAllowDnsResolutionFromRemoteVpc: true
    accepterAllowEgressFromLocalClassicLinkToRemoteVpc: true
    accepterAllowEgressFromLocalVpcToRemoteClassicLink: false
    requesterAllowDnsResolutionFromRemoteVpc: false
    requesterAllowEgressFromLocalClassicLinkToRemoteVpc: false
    requesterAllowEgressFromLocalVpcToRemoteClassicLink: false
    enabled: true

The peer and enabled parameters are required - everything else defaults to false, and can be left unset (which is the AWS default).

Package Sidebar

Install

npm i serverless-vpc-peering-options

Weekly Downloads

7

Version

0.1.0

License

MIT

Unpacked Size

16.9 kB

Total Files

10

Last publish

Collaborators

  • kristanmcdonald1