2015-08-20 19:18:41 +00:00
|
|
|
---
|
|
|
|
layout: "google"
|
|
|
|
page_title: "Google: google_compute_project_metadata"
|
2015-10-23 14:10:41 +00:00
|
|
|
sidebar_current: "docs-google-compute-project-metadata"
|
2015-08-20 19:18:41 +00:00
|
|
|
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.
|