Created
March 5, 2020 09:46
-
-
Save AndrewBestbier/b0e72fe3268b21b63b2fd911cf8dbbf8 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| PublicSubnetA: # (1) | |
| Type: AWS::EC2::Subnet # (2) | |
| Properties: | |
| VpcId: !Ref VPC # (3) | |
| CidrBlock: 10.0.0.0/24 # (4) | |
| AvailabilityZone: !Select [0, !GetAZs ] # (5) | |
| PublicSubnetB: | |
| Type: AWS::EC2::Subnet | |
| Properties: | |
| VpcId: !Ref VPC | |
| CidrBlock: 10.0.1.0/24 | |
| AvailabilityZone: !Select [1, !GetAZs ] | |
| PrivateSubnetA: | |
| Type: AWS::EC2::Subnet | |
| Properties: | |
| VpcId: !Ref VPC | |
| CidrBlock: 10.0.2.0/24 | |
| AvailabilityZone: !Select [0, !GetAZs ] | |
| PrivateSubnetB: | |
| Type: AWS::EC2::Subnet | |
| Properties: | |
| VpcId: !Ref VPC | |
| CidrBlock: 10.0.3.0/24 | |
| AvailabilityZone: !Select [1, !GetAZs ] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment