Skip to content

Instantly share code, notes, and snippets.

@rafaelnize
Created February 23, 2017 06:24
Show Gist options
  • Save rafaelnize/ffcd94121a398b3e4c21c33f4ed4d617 to your computer and use it in GitHub Desktop.
Save rafaelnize/ffcd94121a398b3e4c21c33f4ed4d617 to your computer and use it in GitHub Desktop.
Cloudformation CIDR
"SubnetCoreUsEast1a": {
"Description": "Subnet CIDR for VPC",
"Type": "String",
"AllowedPattern": "(\\d{1,3})\\.(\\d{1,3})\\.(\\d{1,3})\\.(\\d{1,3})/(\\d{1,2})",
"ConstraintDescription": "must be a valid CIDR range of the form x.x.x.x/x.",
"Default": "10.46.20.0/24"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment