Importing manually added ssl_certificate to azurerm_application_gateway

Hello,

I have an application gateway which recently had the http_listener certs manually updated. I’d like to import just the new ssl_certificate resource but am unsure if this is possible, as the import only talks about importing a whole application gateway resource.

I’d thought of running the following command to bring the cert in, but wanted to see if this would even be possible. My azurerm provider version is 2.18.0.

terraform import azurerm_application_gateway.<my_existing_tf_appgw_resource> /subscriptions/<subscription_uuid>/resourceGroups/<resource_group>/providers/Microsoft.Network/applicationGateways/<app_gw_name>/sslCertificates/<manually_imported_appgw_listener_cert_name>

Any help is greatly appreciated.

Jeremy