hashicorp / terraform-provider-azurerm

Terraform provider for Azure Resource Manager
https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs
Mozilla Public License 2.0
4.53k stars 4.6k forks source link

Support for Bastion host native_client property #21092

Open heintonny opened 1 year ago

heintonny commented 1 year ago

Is there an existing issue for this?

Community Note

Description

Bastion host native_client property is not exposed in the latest version 3.48. Native client is a new feature where you can connect through the Bastion host from native RDP client on your local Azure AD joined device.

New or Affected Resource(s)/Data Source(s)

azurerm_bastion_host

Potential Terraform Configuration

resource "azurerm_bastion_host" "example" {
  name                = "examplebastion"
  location            = azurerm_resource_group.example.location
  resource_group_name = azurerm_resource_group.example.name
  native_client_enabled       = true   # default to false

  ip_configuration {
    name                 = "configuration"
    subnet_id            = azurerm_subnet.example.id
    public_ip_address_id = azurerm_public_ip.example.id
  }
}

References

No response

T0biii commented 2 weeks ago

if i change the settings for the nativ client in the web ui enableTunneling gets changed to true or false accordingly so i think this settings is responsible for the nativ client: https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/bastion_host#tunneling_enabled thus it is already implemented

EDIT: duplicate of #14373