blob: 87f20702fb6c60ac073ac27be206765a1234460e [file] [log] [blame]
---
subcategory: "Cloud Run"
description: |-
Get information about a Google Cloud Run v2 Service.
---
# google\_cloud\_run\_v2\_service
Get information about a Google Cloud Run v2 Service. For more information see
the [official documentation](https://cloud.google.com/run/docs/)
and [API](https://cloud.google.com/run/docs/apis).
## Example Usage
```hcl
data "google_cloud_run_v2_service" "my_service" {
name = "my-service"
location = "us-central1"
}
```
## Argument Reference
The following arguments are supported:
* `name` - (Required) The name of the Cloud Run v2 Service.
* `location` - (Required) The location of the instance. eg us-central1
- - -
* `project` - (Optional) The project in which the resource belongs. If it
is not provided, the provider project is used.
## Attributes Reference
See [google_cloud_run_v2_service](https://registry.terraform.io/providers/hashicorp/google/latest/docs/resources/cloud_run_v2_service#argument-reference) resource for details of the available attributes.