Skip to content

Commit

Permalink
Set resource ID on read
Browse files Browse the repository at this point in the history
  • Loading branch information
stuartleeks committed Jul 10, 2019
1 parent e08a257 commit c4a6671
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions azurerm/resource_arm_storage_management_policy.go
Original file line number Diff line number Diff line change
Expand Up @@ -179,6 +179,7 @@ func resourceArmStorageManagementPolicyRead(d *schema.ResourceData, meta interfa
if err != nil {
return err
}
d.SetId(*result.ID)

if result.Policy != nil {
policy := result.Policy
Expand Down

0 comments on commit c4a6671

Please sign in to comment.