Fix import of resource group name for azurerm_traffic_manager_profile.
This commit is contained in:
parent
0394a4e072
commit
bc3be270f1
|
@ -27,7 +27,6 @@ func TestAccAzureRMTrafficManagerProfile_importBasic(t *testing.T) {
|
|||
ResourceName: resourceName,
|
||||
ImportState: true,
|
||||
ImportStateVerify: true,
|
||||
ImportStateVerifyIgnore: []string{"resource_group_name"},
|
||||
},
|
||||
},
|
||||
})
|
||||
|
|
|
@ -161,6 +161,7 @@ func resourceArmTrafficManagerProfileRead(d *schema.ResourceData, meta interface
|
|||
profile := *resp.Properties
|
||||
|
||||
// update appropriate values
|
||||
d.Set("resource_group_name", resGroup)
|
||||
d.Set("name", resp.Name)
|
||||
d.Set("profile_status", profile.ProfileStatus)
|
||||
d.Set("traffic_routing_method", profile.TrafficRoutingMethod)
|
||||
|
|
Loading…
Reference in New Issue