Fix import of resource group name for azurerm_traffic_manager_endpoint.
This commit is contained in:
parent
9998adb6ad
commit
0394a4e072
|
@ -27,9 +27,6 @@ func TestAccAzureRMTrafficManagerEndpoint_importBasic(t *testing.T) {
|
|||
ResourceName: resourceName,
|
||||
ImportState: true,
|
||||
ImportStateVerify: true,
|
||||
ImportStateVerifyIgnore: []string{
|
||||
"resource_group_name",
|
||||
},
|
||||
},
|
||||
},
|
||||
})
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue