diff --git a/azurerm/resource_arm_api_management.go b/azurerm/resource_arm_api_management.go index d789b6966f0d1..231ee04294580 100644 --- a/azurerm/resource_arm_api_management.go +++ b/azurerm/resource_arm_api_management.go @@ -576,8 +576,8 @@ func flattenApiManagementHostnameConfigurations(input *[]apimanagement.HostnameC return []interface{}{ map[string]interface{}{ "management": managementResults, - "portal": proxyResults, - "proxy": portalResults, + "portal": portalResults, + "proxy": proxyResults, "scm": scmResults, }, }