terraform-provider-google/r/compute_project_metadata.html.markdown
Lars Wander d709aede8f Implemented CRUD project metadata operations
Common metadata state is now stored

Optimistic locking support added to common_metadata

Revisions to keys in project metadata are now reflected in the project state

Wrote tests for project metadata (all pass)

Relaxed test conditions to work on projects with extra keys

Added documentation for project metadata
2015-08-24 12:53:28 -04:00

730 B

layout page_title sidebar_current description
google Google: google_compute_project_metadata docs-google-resource-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.

Attributes Reference

The following attributes are exported:

  • metadata - Common instance metadata.