Fix import of resource group name for azurerm_network_security_group.
This commit is contained in:
parent
3a047c06ba
commit
8c678121e6
|
@ -22,7 +22,6 @@ func TestAccAzureRMNetworkSecurityGroup_importBasic(t *testing.T) {
|
|||
ResourceName: resourceName,
|
||||
ImportState: true,
|
||||
ImportStateVerify: true,
|
||||
ImportStateVerifyIgnore: []string{"resource_group_name"},
|
||||
},
|
||||
},
|
||||
})
|
||||
|
|
|
@ -203,6 +203,7 @@ func resourceArmNetworkSecurityGroupRead(d *schema.ResourceData, meta interface{
|
|||
d.Set("security_rule", flattenNetworkSecurityRules(resp.Properties.SecurityRules))
|
||||
}
|
||||
|
||||
d.Set("resource_group_name", resGroup)
|
||||
d.Set("name", resp.Name)
|
||||
d.Set("location", resp.Location)
|
||||
flattenAndSetTags(d, resp.Tags)
|
||||
|
|
Loading…
Reference in New Issue