Skip to content

Commit

Permalink
test(gateway): ignore changes for static_route blocks
Browse files Browse the repository at this point in the history
  • Loading branch information
villevsv-upcloud committed Sep 28, 2023
1 parent 1a7ce97 commit 3b11754
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions upcloud/testdata/upcloud_gateway/gateway_s1.tf
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@ variable "zone" {

resource "upcloud_router" "this" {
name = "${var.prefix}router"

lifecycle {
ignore_changes = [static_route]
}
}

resource "upcloud_network" "this" {
Expand Down
4 changes: 4 additions & 0 deletions upcloud/testdata/upcloud_gateway/gateway_s2.tf
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@ variable "zone" {

resource "upcloud_router" "this" {
name = "${var.prefix}router"

lifecycle {
ignore_changes = [static_route]
}
}

resource "upcloud_network" "this" {
Expand Down

0 comments on commit 3b11754

Please sign in to comment.