Pass email addresses context to organization module in stage 0 (#3496)
* pass email addresses context to organization module in stage 0 * depend essential contacts on org policy resource
This commit is contained in:
committed by
GitHub
parent
b6b446d5b3
commit
8bfc3cf579
@@ -79,7 +79,8 @@ module "organization" {
|
||||
id = local.organization_id
|
||||
}
|
||||
}
|
||||
locations = local.ctx.locations
|
||||
email_addresses = local.ctx.email_addresses
|
||||
locations = local.ctx.locations
|
||||
}
|
||||
contacts = lookup(local.organization, "contacts", {})
|
||||
factories_config = {
|
||||
|
||||
@@ -36,7 +36,8 @@ resource "google_essential_contacts_contact" "contact" {
|
||||
depends_on = [
|
||||
google_organization_iam_binding.authoritative,
|
||||
google_organization_iam_binding.bindings,
|
||||
google_organization_iam_member.bindings
|
||||
google_organization_iam_member.bindings,
|
||||
google_org_policy_policy.default
|
||||
]
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user