blob: 1144e5590fa16daeaf5ea08804ab18f8afd10e89 [file] [log] [blame]
---
subcategory: "Cloud Run"
description: |-
Get information about a Google Cloud Run Service.
---
# google\_cloud\_run\_service
Get information about a Google Cloud Run 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_service" "run-service" {
name = "my-service"
location = "us-central1"
}
```
## Argument Reference
The following arguments are supported:
* `name` - (Required) The name of the Cloud Run Service.
* `location` - (Required) The location of the cloud run 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_service](https://registry.terraform.io/providers/hashicorp/google/latest/docs/resources/cloud_run_service#argument-reference) resource for details of the available attributes.