condensation
Version:
Package, reuse and share particles for CloudFormation projects
47 lines • 1.11 kB
JSON
{
"AWSTemplateFormatVersion": "2010-09-09",
"Description": "This test text was generated for region us-east-1",
"Parameters": {
"VpcCidr": {
"Description": "The VPC Network Range",
"Type": "String",
"MinLength": "9",
"MaxLength": "18",
"Default": "0.0.0.0/0",
"AllowedPattern": "(\\d{1,3})\\.(\\d{1,3})\\.(\\d{1,3})\\.(\\d{1,3})/(\\d{1,2})",
"ConstraintDescription": "must be a valid IP CIDR range of the form x.x.x.x/x."
},
"NameTag": {
"Description": "Will set the name tag on all resources created",
"Type": "String"
}
},
"Resources": {
"vpc": {
"Type": "AWS::EC2::VPC",
"Properties": {
"CidrBlock": {
"Ref": "VpcCidr"
},
"InstanceTenancy": "default",
"EnableDnsSupport": "true",
"EnableDnsHostnames": "true",
"Tags": [
{
"Key": "Name",
"Value": {
"Ref": "NameTag"
}
}
]
}
}
},
"Outputs": {
"VpcId": {
"Value": {
"Ref": "vpc"
}
}
}
}