Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Data Source: azurerm_virtual_hub_connection - add new properties #23491

Merged
merged 1 commit into from
Oct 13, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions internal/services/network/virtual_hub_connection_data_source.go
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,16 @@ func dataSourceVirtualHubConnection() *pluginsdk.Resource {
Computed: true,
},

"inbound_route_map_id": {
Type: pluginsdk.TypeString,
Computed: true,
},

"outbound_route_map_id": {
Type: pluginsdk.TypeString,
Computed: true,
},

"propagated_route_table": {
Type: pluginsdk.TypeList,
Computed: true,
Expand All @@ -88,6 +98,11 @@ func dataSourceVirtualHubConnection() *pluginsdk.Resource {
},
},

"static_vnet_local_route_override_criteria": {
Type: pluginsdk.TypeString,
Computed: true,
},

//lintignore:XS003
"static_vnet_route": {
Type: pluginsdk.TypeList,
Expand Down
6 changes: 6 additions & 0 deletions website/docs/d/virtual_hub_connection.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,14 @@ An `routing` block exports the following:

* `associated_route_table_id` - The ID of the route table associated with this Virtual Hub connection.

* `inbound_route_map_id` - The ID of the Route Map associated with this Routing Configuration for inbound learned routes.

* `outbound_route_map_id` - The ID of the Route Map associated with this Routing Configuration for outbound advertised routes.

* `propagated_route_table` - A `propagated_route_table` block as defined below.

* `static_vnet_local_route_override_criteria` - The static VNet local route override criteria that is used to determine whether NVA in spoke VNet is bypassed for traffic with destination in spoke VNet.

* `static_vnet_route` - A `static_vnet_route` block as defined below.

---
Expand Down
Loading