I have created an HDInsight cluster with kafka using azurerm_hdinsight_kafka_cluster
on a VNet (azurerm_virtual_network
) with terraform. Due to which I get instances of Azure's network interface created implicitly by Azure Management Service.
I have also created azurerm_public_ip
resources which I intend to associate with the network interfaces which are created implicitly as mentioned above.
This means, I need to update the implicitly created azurerm_network_interface
resource with the azurerm_public_ip
IP address via public_ip_address_id
attribute.
I searched online for any documentation on updating the ip_configuration
nested attribute of azurerm_network_interface
(created implicitly), but unfortunately, did not find any.
Could anyone help me on this? I have not found any other resource in azurerm as well which might help me achieve this.
I would appreciate if someone could point me to an azurerm resource by which i can associate this or any other way possible.
Thanks in advance :)
How can I update ip_configuration of an azurerm_network_interface to add azurerm_public_ip?