Skip to content

Commit d802bc2

Browse files
committed
remove incorrect usage of UseStateForUnknown
1 parent 6f6bb20 commit d802bc2

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

internal/resources/metal/project/resource_schema.go

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ import (
1111
"github.com/hashicorp/terraform-plugin-framework-validators/stringvalidator"
1212
"github.com/hashicorp/terraform-plugin-framework/resource/schema"
1313
"github.com/hashicorp/terraform-plugin-framework/resource/schema/booldefault"
14-
"github.com/hashicorp/terraform-plugin-framework/resource/schema/int64planmodifier"
1514
"github.com/hashicorp/terraform-plugin-framework/resource/schema/planmodifier"
1615
"github.com/hashicorp/terraform-plugin-framework/resource/schema/stringplanmodifier"
1716
"github.com/hashicorp/terraform-plugin-framework/schema/validator"
@@ -110,15 +109,9 @@ var bgpConfigSchema = map[string]schema.Attribute{
110109
"status": schema.StringAttribute{
111110
Description: "Status of BGP configuration in the project",
112111
Computed: true,
113-
PlanModifiers: []planmodifier.String{
114-
stringplanmodifier.UseStateForUnknown(),
115-
},
116112
},
117113
"max_prefix": schema.Int64Attribute{
118114
Description: "The maximum number of route filters allowed per server",
119115
Computed: true,
120-
PlanModifiers: []planmodifier.Int64{
121-
int64planmodifier.UseStateForUnknown(),
122-
},
123116
},
124117
}

0 commit comments

Comments
 (0)