mirror of
https://github.com/letic/terraform-provider-google.git
synced 2024-09-16 08:10:02 +00:00
d709aede8f
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
37 lines
730 B
Markdown
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.
|