Skip to content

Instantly share code, notes, and snippets.

@lvthillo
Created February 27, 2019 18:12
Show Gist options
  • Save lvthillo/a269279bd567c8351349da17ca17b162 to your computer and use it in GitHub Desktop.
Save lvthillo/a269279bd567c8351349da17ca17b162 to your computer and use it in GitHub Desktop.
VPC
Parameters:
VPCCidr:
AllowedPattern: '((\d{1,3})\.){3}\d{1,3}/\d{1,2}'
Type: String
Default: 10.0.0.0/16
Description: Enter the CIDR for your VPC
...
Resources:
VPC:
Type: AWS::EC2::VPC
Properties:
CidrBlock: !Ref VPCCidr
Tags:
- Key: Name
Value: VPC-1
...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment