Get information about a Google Cloud Run Service. For more information see the official documentation and API.
data "google_cloud_run_service" "run-service" {
name = "my-service"
location = "us-central1"
}
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.See google_cloud_run_service resource for details of the available attributes.