Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add an option to VpcArgs to allow the user to specify exact AZs #32

Closed
pgavlin opened this issue Aug 15, 2018 · 2 comments
Closed

Add an option to VpcArgs to allow the user to specify exact AZs #32

pgavlin opened this issue Aug 15, 2018 · 2 comments
Assignees

Comments

@pgavlin
Copy link
Member

pgavlin commented Aug 15, 2018

i.e. rather than just specifying a count, allow the user to specify [ "us-east-1b", "us-east-1c" ] or similar.

@CyrusNajmabadi
Copy link
Contributor

This is supported in the new Vpc abstraction. When you define your VpcSubnetLocation you can specify either an availabilityZone or an availableZoneId. i.e.

new Vpc("name", {
  subnets: [{
    type: "public",
    location: {
      availabilityZone: "us-east-1b",
      cidrBlock: ...
    }],
});

@CyrusNajmabadi
Copy link
Contributor

I updated this to no longer reference 'Network'. 'Network' is deprecated and will be removed from 1.0

@CyrusNajmabadi CyrusNajmabadi changed the title Add an option to NetworkArgs to allow the user to specify exact AZs Add an option to VpcArgs to allow the user to specify exact AZs Jul 12, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants