Skip to content

Commit

Permalink
Fix missing paren + bad var in resourcepolicy datasource 3.0.0 (#2600)
Browse files Browse the repository at this point in the history
  • Loading branch information
rileykarson committed Nov 13, 2019
1 parent e8599d0 commit 62f1c4b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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 -%>

0 comments on commit 62f1c4b

Please sign in to comment.