Update resman modules (#475)

* Make logging sinks in different resources use the same API

* Split resman modules in multiple files. Add nullables where applicable
This commit is contained in:
Julio Castillo
2022-01-29 19:35:33 +01:00
committed by GitHub
parent eb0ab2c1ec
commit e2abd772f2
20 changed files with 340 additions and 243 deletions

View File

@@ -89,7 +89,7 @@ resource "google_essential_contacts_contact" "contact" {
resource "google_monitoring_monitored_project" "primary" {
provider = google-beta
for_each = toset(coalesce(var.metric_scopes, []))
for_each = toset(var.metric_scopes)
metrics_scope = each.value
name = local.project.project_id
}