Skip to content

Commit

Permalink
extract sku name in read method
Browse files Browse the repository at this point in the history
  • Loading branch information
brennerm authored and Max Brenner committed Nov 28, 2019
1 parent 423a277 commit 60eb5c4
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions azurerm/resource_arm_app_configuration.go
Original file line number Diff line number Diff line change
Expand Up @@ -300,6 +300,10 @@ func resourceArmAppConfigurationRead(d *schema.ResourceData, meta interface{}) e
d.Set("location", azure.NormalizeLocation(*location))
}

if sku := resp.Sku; sku != nil {
d.Set("sku", sku.Name)
}

if endpoint := resp.Endpoint; endpoint != nil {
d.Set("endpoint", resp.Endpoint)
}
Expand Down

0 comments on commit 60eb5c4

Please sign in to comment.