googleComputeResourcePolicy
Provide access to a Resource Policy's attributes. For more information see the official documentation or the API.
\~> Warning: This datasource is in beta, and should be used with the terraform-provider-google-beta provider. See Provider Versions for more details on beta resources.
provider "google-beta" {
region = "us-central1"
zone = "us-central1-a"
}
data "google_compute_resource_policy" "daily" {
provider = google-beta
name = "daily"
region = "us-central1"
}
Argument Reference
The following arguments are supported:
name
(Required) - The name of the Resource Policy.project
(Optional) - Project from which to list the Resource Policy. Defaults to project declared in the provider.region
(Required) - Region where the Resource Policy resides.
Attributes Reference
The following attributes are exported:
description
- Description of this Resource Policy.selfLink
- The URI of the resource.