google_essential_contacts_contact

A contact that will receive notifications from Google Cloud.

To get more information about Contact, see:

Open in Cloud Shell

Example Usage - Essential Contact

data "google_project" "project" {
}

resource "google_essential_contacts_contact" "contact" {
  parent = data.google_project.project.id
  email = "foo@bar.com"
  language_tag = "en-GB"
  notification_category_subscriptions = ["ALL"]
}

Argument Reference

The following arguments are supported:


Attributes Reference

In addition to the arguments listed above, the following computed attributes are exported:

Timeouts

This resource provides the following Timeouts configuration options:

Import

Contact can be imported using any of these accepted formats:

In Terraform v1.5.0 and later, use an import block to import Contact using one of the formats above. For example:

import {
  id = "{{name}}"
  to = google_essential_contacts_contact.default
}

When using the terraform import command, Contact can be imported using one of the formats above. For example:

$ terraform import google_essential_contacts_contact.default {{name}}