-
Notifications
You must be signed in to change notification settings - Fork 378
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
[VPC-3359] Implemented vpc peering methods #1532
[VPC-3359] Implemented vpc peering methods #1532
Conversation
Co-authored-by: ddatta-do <147642663+ddatta-do@users.noreply.github.com>
Co-authored-by: ddatta-do <147642663+ddatta-do@users.noreply.github.com>
Co-authored-by: ddatta-do <147642663+ddatta-do@users.noreply.github.com>
Co-authored-by: ddatta-do <147642663+ddatta-do@users.noreply.github.com>
Co-authored-by: ddatta-do <147642663+ddatta-do@users.noreply.github.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A few comments around documentation, and two larger design comments that I'll put here:
- I would prefer that the new command be under just
peerings
instead ofvpc-peerings
. Having it undervpc-peerings
makes it repetitive to type out when invoking the command –doctl vpcs vpc-peerings --help
, vs.doctl vpcs peerings --help
for example. - For the
create
subcommand, both arguments are flags. For a create command indoctl
, the more common pattern is for the name to be a positional argument, and then other arguments to be flags. This would mean the create command isdoctl vpcs peerings create <name> --vpc-ids <ids>
instead.
(Pinging @andrewsomething and @danaelhe to see if they agree with the two design related points)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great, awesome work!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
VPC Peering is a closed beta feature and not available for public use.
Testing doc