CFN Macro VPC
- Free software: Apache Software License 2.0
- Documentation: https://cfn-macro-vpc.readthedocs.io.
Parameters:
VpcCidr:
Type: String
Transform:
- cfnmacro-vpc
Properties:
CidrBlock: !Ref VpcCidr
EnableDnsHostnames: True
Tags:
- KeyName: Name
Value: !Ref AWS::Stackname
VpcSettings:
AvailabilityZones:
Fn::GetAZs !Ref 'AWS::Region'
PublicVpc: True
UseCloudMap: True
DhcpOptions: # DHCP Options as according to `DHCP Options Doc`_
DomainName: !Sub '${AWS::StackName}.local'
SubnetsLayers:
- Name: Public
Properties:
PublicIngress: True
PublicEgress: True
AvailabilityZones:
Fn::GetAzs !Ref AWS::Region
OnePerAzOnly: True
- Name: Application
Properties:
PublicIngress: False
PublicEgress: True
AvailabilityZones:
Fn::GetAzs !Ref AWS::Region
OnePerAzOnly: False
- Name: Storage
Properties:
PublicEgress: False
PublicIngress: False
AvailabilityZones:
Fn::GetAZs !Ref AWS::Region
OnePerAzOnly: True
This package was created with Cookiecutter and the audreyr/cookiecutter-pypackage project template.