follow up changes to get vpn working - still no dice

This commit is contained in:
pokeeffe-molecula 2022-01-06 20:13:52 -06:00
parent 56cf9f43f5
commit 574be963ec
3 changed files with 13 additions and 1 deletions

View file

@ -9,3 +9,10 @@ module "ci-cluster" {
gitlab_token = var.gitlab_token
branch = var.branch
}
resource "aws_vpc_peering_connection" "smoketest-to-vpn" {
# peer_vpc_id = aws_vpc.bar.id
vpc_id = module.ci-cluster.vpc_id
peer_vpc_id = "vpc-0cb7cf76f2079aa0e"
auto_accept = true
}

View file

@ -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 VPC"
value = module.ci-cluster.vpc_id
}

View file

@ -14,7 +14,7 @@ module "samsung-cluster" {
}
resource "aws_vpc_peering_connection" "gauntlet-to-vpn" {
peer_vpc_id = aws_vpc.bar.id
# peer_vpc_id = aws_vpc.bar.id
vpc_id = module.samsung-cluster.vpc_id
peer_vpc_id = "vpc-0cb7cf76f2079aa0e"
auto_accept = true