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

37 lines
730 B
Markdown

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