@@ -15,7 +15,6 @@ import (
15
15
"github.com/hashicorp/terraform-plugin-framework/resource"
16
16
"github.com/hashicorp/terraform-plugin-framework/resource/schema"
17
17
"github.com/hashicorp/terraform-plugin-framework/resource/schema/booldefault"
18
- "github.com/hashicorp/terraform-plugin-framework/resource/schema/boolplanmodifier"
19
18
"github.com/hashicorp/terraform-plugin-framework/resource/schema/planmodifier"
20
19
"github.com/hashicorp/terraform-plugin-framework/resource/schema/stringplanmodifier"
21
20
"github.com/hashicorp/terraform-plugin-framework/schema/validator"
@@ -239,28 +238,19 @@ func (r *resourceTFEOAuthClient) Schema(ctx context.Context, req resource.Schema
239
238
"oauth_token_id" : schema.StringAttribute {
240
239
Description : "OAuth Token ID for the OAuth Client" ,
241
240
Computed : true ,
242
- PlanModifiers : []planmodifier.String {
243
- stringplanmodifier .RequiresReplace (),
244
- },
245
241
},
246
242
247
243
"agent_pool_id" : schema.StringAttribute {
248
244
Description : "An existing agent pool ID within the organization that has Private VCS support enabled" ,
249
245
Optional : true ,
250
246
Computed : true ,
251
- PlanModifiers : []planmodifier.String {
252
- stringplanmodifier .RequiresReplace (),
253
- },
254
247
},
255
248
256
249
"organization_scoped" : schema.BoolAttribute {
257
250
Description : "Whether or not the oauth client is scoped to all projects and workspaces in the organization" ,
258
251
Optional : true ,
259
252
Computed : true ,
260
253
Default : booldefault .StaticBool (true ),
261
- PlanModifiers : []planmodifier.Bool {
262
- boolplanmodifier .RequiresReplace (),
263
- },
264
254
},
265
255
},
266
256
}
0 commit comments