-
Notifications
You must be signed in to change notification settings - Fork 50
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
feat(terraform): IRN VPC Peering #682
Conversation
terraform/res_network.tf
Outdated
@@ -38,6 +38,22 @@ module "vpc" { | |||
vpc_flow_log_tags = module.this.tags | |||
} | |||
|
|||
resource "aws_vpc_peering_connection" "irn" { | |||
count = var.irn_vpc_id != null ? 1 : 0 |
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.
I think this should be required not optional?
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.
Don't know, I made it optional for relay, because it may not be needed for all envs.
@geekbrother do we need it always here?
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.
Don't know, I made it optional for relay, because it may not be needed for all envs. @geekbrother do we need it always here?
Since sessions will be a part of the blockchain-api and no plans to run it in a cloud without it, I believe we can make this required.
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.
What are the CIDR ranges of the Blockchain API and IRN VPCs? Just curious how this fits together
Fortunately, fits fine. |
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.
Thanks! Looks good to me. Can't test this now, but adding the test to connect to the IRN to #681 so we will be sure that works.
Description
Adds VPC peering to the IRN VPC
How Has This Been Tested?
Manually
Due Diligence