Disable default service account
Overview
# When certain service APIs are enabled, Google Cloud Platform
# automatically creates service accounts to help get started,
# but this is not recommended for production environments as per Google's documentation.
# See the Organization documentation for more details.
# Ref: https://registry.terraform.io/providers/hashicorp/google/latest/docs/resources/google_project_default_service_accounts
resource "google_project_default_service_accounts" "project_default_service_account" {
project = var.project_id
action = "DISABLE"
restore_policy = "REVERT"
}