blockstream-satellite-api/terraform/modules/blc/network.tf

16 lines
461 B
Terraform
Raw Normal View History

2019-06-06 07:33:01 -07:00
# External and internal static IPs
2019-01-16 10:22:44 -08:00
resource "google_compute_address" "blc" {
2019-06-13 09:01:23 -07:00
name = "${var.name}-${var.net}-external-ip-${var.env}"
2019-05-31 07:23:30 -07:00
project = var.project
region = var.region
count = var.create_resources
2019-01-16 10:22:44 -08:00
}
2019-06-06 07:33:01 -07:00
resource "google_compute_address" "blc-internal" {
2019-06-13 09:01:23 -07:00
name = "${var.name}-${var.net}-internal-ip-${var.env}"
2019-06-06 07:33:01 -07:00
address_type = "INTERNAL"
project = var.project
region = var.region
count = var.create_resources
2020-01-03 08:11:41 -08:00
}