mirror of
https://github.com/featurebasedb/featurebase.git
synced 2026-09-09 14:41:02 +00:00
Added in connecting the gauntlet VPC to a VPC that can be reached via the VPN
This commit is contained in:
parent
e550925fba
commit
56cf9f43f5
3 changed files with 16 additions and 0 deletions
|
|
@ -4,4 +4,8 @@ output "ingest_ips" {
|
|||
|
||||
output "data_node_ips" {
|
||||
value = aws_instance.fb_cluster_nodes.*.private_ip
|
||||
}
|
||||
|
||||
output "vpc_id" {
|
||||
value = module.vpc.vpc_id
|
||||
}
|
||||
|
|
@ -12,3 +12,10 @@ module "samsung-cluster" {
|
|||
gitlab_token = var.gitlab_token
|
||||
branch = var.branch
|
||||
}
|
||||
|
||||
resource "aws_vpc_peering_connection" "gauntlet-to-vpn" {
|
||||
peer_vpc_id = aws_vpc.bar.id
|
||||
vpc_id = module.samsung-cluster.vpc_id
|
||||
peer_vpc_id = "vpc-0cb7cf76f2079aa0e"
|
||||
auto_accept = true
|
||||
}
|
||||
|
|
@ -6,4 +6,9 @@ output "ingest_ips" {
|
|||
output "data_node_ips" {
|
||||
description = "List of data node IPs"
|
||||
value = module.samsung-cluster.data_node_ips
|
||||
}
|
||||
|
||||
output "vpc_id" {
|
||||
description = "ID of the gauntlet VPC"
|
||||
value = module.samsung-cluster.vpc_id
|
||||
}
|
||||
Loading…
Add table
Reference in a new issue