mirror of
https://github.com/featurebasedb/featurebase.git
synced 2026-09-10 07:01:01 +00:00
Added in auto-peering of smoketest VPC
This commit is contained in:
parent
56cf9f43f5
commit
70833218b1
3 changed files with 11 additions and 1 deletions
|
|
@ -9,3 +9,9 @@ module "ci-cluster" {
|
|||
gitlab_token = var.gitlab_token
|
||||
branch = var.branch
|
||||
}
|
||||
|
||||
resource "aws_vpc_peering_connection" "gauntlet-to-vpn" {
|
||||
vpc_id = module.ci-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.ci-cluster.data_node_ips
|
||||
}
|
||||
|
||||
output "vpc_id" {
|
||||
description = "ID of the gauntlet VPC"
|
||||
value = module.samsung-cluster.vpc_id
|
||||
}
|
||||
|
|
@ -14,7 +14,6 @@ module "samsung-cluster" {
|
|||
}
|
||||
|
||||
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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue