terraform-provider-google/r/compute_project_metadata.html.markdown
George Christou 06fa75423e website/docs: Run terraform fmt on code examples (#12075)
* docs/vsphere: Fix code block

* docs: Convert `...` to `# ...` to allow `terraform fmt`ing

* docs: Trim trailing whitespace

* docs: First-pass run of `terraform fmt` on code examples
2017-02-19 00:48:50 +02:00

827 B

layout page_title sidebar_current description
google Google: google_compute_project_metadata docs-google-compute-project-metadata Manages common instance metadata

google_compute_project_metadata

Manages metadata common to all instances for a project in GCE.

Example Usage

resource "google_compute_project_metadata" "default" {
  metadata {
    foo  = "bar"
    fizz = "buzz"
    "13" = "42"
  }
}

Argument Reference

The following arguments are supported:

  • metadata - (Required) A series of key value pairs. Changing this resource updates the GCE state.

  • project - (Optional) The project in which the resource belongs. If it is not provided, the provider project is used.

Attributes Reference

Only the arguments listed above are exposed as attributes.