mirror of
https://github.com/outbackdingo/firezone.git
synced 2026-01-27 10:18:54 +00:00
TODO: - [x] Cluster formation for all API and web nodes - [x] Injest Docker logs to Stackdriver - [x] Fix assets building for prod To finish later: - [ ] Structured logging: https://issuetracker.google.com/issues/285950891 - [ ] Better networking policy (eg. use public postmark ranges and deny all unwanted egress) - [ ] OpenTelemetry collector for Google Stackdriver - [ ] LoggerJSON.Plug integration --------- Signed-off-by: Andrew Dryga <andrew@dryga.com> Co-authored-by: Jamil <jamilbk@users.noreply.github.com>
20 lines
362 B
HCL
20 lines
362 B
HCL
resource "google_project_service" "compute" {
|
|
project = var.project_id
|
|
service = "compute.googleapis.com"
|
|
|
|
disable_on_destroy = false
|
|
}
|
|
|
|
resource "google_compute_network" "vpc_network" {
|
|
project = var.project_id
|
|
name = var.name
|
|
|
|
routing_mode = "GLOBAL"
|
|
|
|
auto_create_subnetworks = false
|
|
|
|
depends_on = [
|
|
google_project_service.compute
|
|
]
|
|
}
|