You must specify a CIDR block for your virtual private cloud (VPC).
Syntax
tosca.nodes.AWS.Networking.VPC:
properties:
cidr_block: String
ipv6_cidr_block: String
dns_support: String
tags: List
Properties
-
cidr_block
-
The IPv4 network range for the VPC, in CIDR notation.
Required: Yes
Type: String
-
ipv6_cidr_block
-
The IPv6 CIDR block used to create the VPC.
Allowed value:
AMAZON_PROVIDED
Required: No
Type: String
-
dns_support
-
Indicates whether the instances launched in the VPC get DNS hostnames.
Required: No
Type: Boolean
Default:
false
-
tags
-
Tags to be attached to the resource.
Required: No
Type: List
Example
SampleVPC:
type: tosca.nodes.AWS.Networking.VPC
properties:
cidr_block: "10.100.0.0/16"
ipv6_cidr_block: "AMAZON_PROVIDED"
dns_support: true
tags:
- "Name=SampleVPC"
- "Environment=Testing"