Skip to content

Commit

Permalink
release
Browse files Browse the repository at this point in the history
  • Loading branch information
gareda committed Jan 21, 2024
1 parent 8686559 commit 1210765
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 8 deletions.
12 changes: 12 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
<!-- markdownlint-disable MD041 MD013 -->
## 2.0.0 (January 21, 2024)

BREAKING CHANGES:

* dependencies: updating to `v1.3.0` minimum of `terraform`.

ENHANCEMENTS:

* Internal changes that change the way data is received by child parameters, but do not change the behavior of the module.
* The routes defined in the route table are now a apart resource, this going to recreate the routes of the route tables created with versions before to `2.0.0`.

## 1.0.1 (November 28, 2021)

ENHANCEMENTS:
Expand Down
16 changes: 8 additions & 8 deletions tests/testing.tftest.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -48,42 +48,42 @@ run "plan" {

assert {
condition = azurerm_route_table.rt.disable_bgp_route_propagation == false
error_message = ""
error_message = "The bgp route propagation of route table is being modified."
}

assert {
condition = azurerm_route.routes["route1"].name == ({ for r in var.routes : r.name => r })["route1"].name
error_message = ""
error_message = "The route1 name is being modified."
}

assert {
condition = azurerm_route.routes["route1"].address_prefix == ({ for r in var.routes : r.name => r })["route1"].address_prefix
error_message = ""
error_message = "The route1 address prefix is being modified."
}

assert {
condition = azurerm_route.routes["route1"].next_hop_type == ({ for r in var.routes : r.name => r })["route1"].next_hop_type
error_message = ""
error_message = "The route1 next hop type is being modified."
}

assert {
condition = azurerm_route.routes["route1"].next_hop_in_ip_address == ({ for r in var.routes : r.name => r })["route1"].next_hop_in_ip_address
error_message = ""
error_message = "The next hop in ip address of route1 is being modified."
}

assert {
condition = azurerm_route.routes["route2"].name == ({ for r in var.routes : r.name => r })["route2"].name
error_message = ""
error_message = "The route2 name is being modified."
}

assert {
condition = azurerm_route.routes["route2"].address_prefix == ({ for r in var.routes : r.name => r })["route2"].address_prefix
error_message = ""
error_message = "The route2 address prefix is being modified."
}

assert {
condition = azurerm_route.routes["route2"].next_hop_type == ({ for r in var.routes : r.name => r })["route2"].next_hop_type
error_message = ""
error_message = "The route2 next hop type is being modified."
}
}

Expand Down

0 comments on commit 1210765

Please sign in to comment.