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 authored and slevenick committed Nov 7, 2019
1 parent 7c96011 commit 2386145
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 2386145

Please sign in to comment.