Hello @Atanu Gupta ,
Welcome to Microsoft Q&A Platform. Thank you for reaching out & hope you are doing well.
I understand that you would like to know if there is any terraform script to enable native client support for Azure Bastion host.
If we check the Azure CLI commands for Bastion host, we can see that to enable native client support, we need to add the parameter "--enable-tunneling".
Refer : https://learn.microsoft.com/en-us/cli/azure/network/bastion?view=azure-cli-latest#az-network-bastion-update
And if we check the Terraform registry for Azure Bastion host, we can see this parameter is available.
https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/bastion_host
tunneling_enabled - (Optional) Is Tunneling feature enabled for the Bastion Host. Defaults to false.
Note: tunneling_enabled is only supported when sku is Standard.
So, to enable native client support for Azure Bastion host via Terraform, you need to add this parameter "tunneling_enabled" and set it to "true".
I could not find any readily available script for this.
Kindly let us know if the above helped or you need further assistance on this issue.
----------------------------------------------------------------------------------------------------------------
Please "Accept the answer" if the information helped you. This will help us and others in the community as well.