diff --git a/third_party/terraform/data_sources/data_source_google_compute_resource_policy.go.erb b/third_party/terraform/data_sources/data_source_google_compute_resource_policy.go.erb index 09f8b3d4dc1f..09b3081efb0e 100644 --- a/third_party/terraform/data_sources/data_source_google_compute_resource_policy.go.erb +++ b/third_party/terraform/data_sources/data_source_google_compute_resource_policy.go.erb @@ -59,7 +59,7 @@ func dataSourceGoogleComputeResourcePolicyRead(d *schema.ResourceData, meta inte } d.Set("self_link", resourcePolicy.SelfLink) d.Set("description", resourcePolicy.Description) - d.SetId(fmt.Sprintf("projects/%s/regions/%s/resourcePolicies/%s", project, regions, name) + d.SetId(fmt.Sprintf("projects/%s/regions/%s/resourcePolicies/%s", project, region, name)) return nil } <% end -%>