Fix import of resource group name for azurerm_traffic_manager_profile.
This commit is contained in:
parent
0394a4e072
commit
bc3be270f1
|
@ -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,
|
||||
},
|
||||
},
|
||||
})
|
||||
|
|
|
@ -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