Skip to content

Commit 7139285

Browse files
committed
update tests
1 parent 3e33e85 commit 7139285

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

stackit/internal/services/loadbalancer/loadbalancer/resource.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ package loadbalancer
33
import (
44
"context"
55
"fmt"
6-
"github.com/hashicorp/terraform-plugin-framework/resource/schema/booldefault"
76
"net/http"
87
"strings"
98
"time"
@@ -19,6 +18,7 @@ import (
1918
"github.com/hashicorp/terraform-plugin-framework/path"
2019
"github.com/hashicorp/terraform-plugin-framework/resource"
2120
"github.com/hashicorp/terraform-plugin-framework/resource/schema"
21+
"github.com/hashicorp/terraform-plugin-framework/resource/schema/booldefault"
2222
"github.com/hashicorp/terraform-plugin-framework/resource/schema/boolplanmodifier"
2323
"github.com/hashicorp/terraform-plugin-framework/resource/schema/int64planmodifier"
2424
"github.com/hashicorp/terraform-plugin-framework/resource/schema/listplanmodifier"

stackit/internal/services/loadbalancer/testfiles/resource-min.tf

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,11 @@ resource "stackit_network_interface" "network_interface" {
2727
project_id = stackit_network.network.project_id
2828
network_id = stackit_network.network.network_id
2929
name = "name"
30+
lifecycle {
31+
ignore_changes = [
32+
security_group_ids,
33+
]
34+
}
3035
}
3136

3237
resource "stackit_public_ip" "public_ip" {

0 commit comments

Comments
 (0)