September 2018
Intermediate to advanced
386 pages
11h 17m
English
Let's have a look at creating the public subnet. The following code block shows the mechanism:
letsPollPublicSubnet: Type: AWS::EC2::Subnet Properties: VpcId: Ref: letsPollVPC AvailabilityZone: ${self:provider.region}a CidrBlock: 10.0.0.0/24 MapPublicIpOnLaunch: true Tags: - Key: Name Value: Lets Poll VPC Public Subnet 1
A few things to note about the code:
Read now
Unlock full access