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 support for managing VPC peering. #169

Merged
merged 1 commit into from
May 31, 2024
Merged

Conversation

abrightwell
Copy link
Member

Add support for managing VPC peering via the cb network command.

These changes provide the following subcommands:

  • cb network create-peering - create a new VPC peering in the target network.
  • cb network delete-peering - delete an existing VPC peering.
  • cb network get-peering - show details of an existing VPC peering.
  • cb network list-peerings - list all existing VPC peerings for the target network.

@abrightwell abrightwell requested a review from a team as a code owner May 29, 2024 15:37
Copy link
Contributor

@ngaumont ngaumont left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Very minor, remark, but this seems good to me


def validate
super
check_required_args do |missing|
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should we try to proactively prevent user to use aws_account_id if platform is not aws (same with gcp, etc)?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch. Yeah, we definitely should do that kind of check here. 👍

Add support for managing VPC peering via the `cb network` command.

These changes provide the following subcommands:

* `cb network create-peering` - create a new VPC peering in the target
  network.
* `cb network delete-peering` - delete an existing VPC peering.
* `cb network get-peering` - show details of an existing VPC peering.
* `cb network list-peerings` - list all existing VPC peerings for the
  target network.
@abrightwell abrightwell merged commit 55815b5 into main May 31, 2024
2 checks passed
@abrightwell abrightwell deleted the abrightwell/network-peering branch May 31, 2024 18:25
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

Successfully merging this pull request may close these issues.

2 participants