Skip to content

Instantly share code, notes, and snippets.

@tylergohl
Created May 20, 2021 18:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tylergohl/891b5eb5bfd7b5b4fda943cc218f56df to your computer and use it in GitHub Desktop.
Save tylergohl/891b5eb5bfd7b5b4fda943cc218f56df to your computer and use it in GitHub Desktop.
DMZSubnetA:
Type: AWS::EC2::Subnet
Properties:
AvailabilityZone: !Select ['0', !GetAZs {Ref: 'AWS::Region'}]
VpcId: !Ref 'EnvironmentVpc'
MapPublicIpOnLaunch: Yes
CidrBlock: !Ref 'DMZSubnetCidrA'
Tags:
- Key: Name
Value: !Sub "${EnvironmentValue}-dmzsubnet-a"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment