Data Source: azurerm_bastion_host

Use this data source to access information about an existing Bastion Host.

Example Usage

data "azurerm_bastion_host" "example" {
  name                = "existing-bastion"
  resource_group_name = "existing-resources"
}

output "id" {
  value = data.azurerm_bastion_host.example.id
}

Argument Reference

The following arguments are supported:

Attributes Reference

In addition to the Arguments listed above - the following Attributes are exported:


A ip_configuration block supports the following:

Timeouts

The timeouts block allows you to specify timeouts for certain actions: