Manages metadata common to all instances for a project in GCE. For more information see the official documentation and API.
Note: If you want to manage only single key/value pairs within the project metadata rather than the entire set, then use google_compute_project_metadata_item.
resource "google_compute_project_metadata" "default" {
metadata {
foo = "bar"
fizz = "buzz"
"13" = "42"
}
}
The following arguments are supported:
metadata - (Required) A series of key value pairs. Changing this resource updates the GCE state. project - (Optional) The ID of the project in which the resource belongs. If it is not provided, the provider project is used. Only the arguments listed above are exposed as attributes.
© 2018 HashiCorpLicensed under the MPL 2.0 License.
https://www.terraform.io/docs/providers/google/r/compute_project_metadata.html