diff --git a/builtin/providers/azurerm/import_arm_traffic_manager_profile_test.go b/builtin/providers/azurerm/import_arm_traffic_manager_profile_test.go index 08be702e4..6e55347a9 100644 --- a/builtin/providers/azurerm/import_arm_traffic_manager_profile_test.go +++ b/builtin/providers/azurerm/import_arm_traffic_manager_profile_test.go @@ -24,10 +24,9 @@ func TestAccAzureRMTrafficManagerProfile_importBasic(t *testing.T) { }, resource.TestStep{ - ResourceName: resourceName, - ImportState: true, - ImportStateVerify: true, - ImportStateVerifyIgnore: []string{"resource_group_name"}, + ResourceName: resourceName, + ImportState: true, + ImportStateVerify: true, }, }, }) diff --git a/builtin/providers/azurerm/resource_arm_traffic_manager_profile.go b/builtin/providers/azurerm/resource_arm_traffic_manager_profile.go index c000e3264..2e3f21a4b 100644 --- a/builtin/providers/azurerm/resource_arm_traffic_manager_profile.go +++ b/builtin/providers/azurerm/resource_arm_traffic_manager_profile.go @@ -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)