From 23861455b9aa8136c3ebae4fecbdb4c382d9ac49 Mon Sep 17 00:00:00 2001 From: Riley Karson Date: Wed, 6 Nov 2019 14:45:58 -0800 Subject: [PATCH] Fix missing paren + bad var in resourcepolicy datasource 3.0.0 (#2600) --- .../data_source_google_compute_resource_policy.go.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -%>