google_project

Use this data source to get project details. For more information see API

Example Usage

data "google_project" "project" {}

output "project_number" {
  value = "${data.google_project.project.number}"
} 

Argument Reference

The following arguments are supported:

  • project_id - (Optional) The project ID. If it is not provided, the provider project is used.

Attributes Reference

The following attributes are exported:

See google_project resource for details of the available attributes.

© 2018 HashiCorp
Licensed under the MPL 2.0 License.
https://www.terraform.io/docs/providers/google/d/google_project.html