Fix import of resource group name for azurerm_traffic_manager_endpoint.

This commit is contained in:
Andreas Kyrris 2016-09-27 18:29:50 +01:00
parent 9998adb6ad
commit 0394a4e072
2 changed files with 1 additions and 3 deletions

View File

@ -27,9 +27,6 @@ func TestAccAzureRMTrafficManagerEndpoint_importBasic(t *testing.T) {
ResourceName: resourceName,
ImportState: true,
ImportStateVerify: true,
ImportStateVerifyIgnore: []string{
"resource_group_name",
},
},
},
})

View File

@ -162,6 +162,7 @@ func resourceArmTrafficManagerEndpointRead(d *schema.ResourceData, meta interfac
endpoint := *resp.Properties
d.Set("resource_group_name", resGroup)
d.Set("name", resp.Name)
d.Set("type", endpointType)
d.Set("profile_name", profileName)