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>
37 lines
886 B
HCL
37 lines
886 B
HCL
|
|
resource "google_project" "project" {
|
|
name = var.name
|
|
|
|
org_id = var.organization_id
|
|
billing_account = var.billing_account_id
|
|
project_id = var.id != "" ? var.id : replace(lower(var.name), " ", "-")
|
|
}
|
|
|
|
resource "google_project_service" "oslogin" {
|
|
project = google_project.project.project_id
|
|
service = "oslogin.googleapis.com"
|
|
|
|
disable_on_destroy = false
|
|
}
|
|
|
|
resource "google_project_service" "iam" {
|
|
project = google_project.project.project_id
|
|
service = "iam.googleapis.com"
|
|
|
|
disable_on_destroy = false
|
|
}
|
|
|
|
resource "google_project_service" "iamcredentials" {
|
|
project = google_project.project.project_id
|
|
service = "iamcredentials.googleapis.com"
|
|
|
|
disable_on_destroy = false
|
|
}
|
|
|
|
resource "google_project_service" "serviceusage" {
|
|
project = google_project.project.project_id
|
|
service = "serviceusage.googleapis.com"
|
|
|
|
disable_on_destroy = false
|
|
}
|