Skip to content

Instantly share code, notes, and snippets.

@ohlol
Created March 26, 2020 21:31
Show Gist options
  • Save ohlol/8a4d4bbad7b41788d86bbbaf790a0291 to your computer and use it in GitHub Desktop.
Save ohlol/8a4d4bbad7b41788d86bbbaf790a0291 to your computer and use it in GitHub Desktop.
config = Config()
vpc_config = config.require_object('vpc')
vpc_name = get_stack()
vpc = VPC(name=vpc_name,
options=VPCOptions(cidr_block=vpc_config.get('cidr_block'),
subnets=vpc_config.get('subnets'),
create_route53_zone=True))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment