Custom VPC Network Configuration #31185
Unanswered
shawnlovelidge
asked this question in
Q&A
Replies: 1 comment
-
@github-lernender-corp , Could you please share minimal repro code that is producing the error. That would be helpful to see what might be causing the error. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
It should be possible to create your own custom Vpc() (i.e a new Vpc() with NO subnetConfiguration)
If I try to add my own subnet infrastructure and associate the subnets to the vpc programatically via the use of CfnSubnet() & CfnSubnetRouteTableAssociation() respectively then whenever I try to iterate through subnets via (vpc.publicSubnets()) I get this error.
" Error: There are no 'Public' subnet groups in this VPC. Available types:..."
It at almost seems like if a developer doesn't use new vpc(..., { subnetConfiguration[] }) aws-cdk doesn't recognize additional created subnets. WHY? This just seems off.... Why have an aws-sdk if we can't use the api to do custom network configurations?
What am I missing? Is there a way to configure a network and have the underlying api know about your configuration?
Beta Was this translation helpful? Give feedback.
All reactions