Skip to content

Commit cb52fb9

Browse files
committed
chore: incorporate review feedback
1 parent 1fa8e8c commit cb52fb9

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

internal/provider/resource_tfe_oauth_client.go

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ import (
1515
"github.com/hashicorp/terraform-plugin-framework/resource"
1616
"github.com/hashicorp/terraform-plugin-framework/resource/schema"
1717
"github.com/hashicorp/terraform-plugin-framework/resource/schema/booldefault"
18-
"github.com/hashicorp/terraform-plugin-framework/resource/schema/boolplanmodifier"
1918
"github.com/hashicorp/terraform-plugin-framework/resource/schema/planmodifier"
2019
"github.com/hashicorp/terraform-plugin-framework/resource/schema/stringplanmodifier"
2120
"github.com/hashicorp/terraform-plugin-framework/schema/validator"
@@ -239,28 +238,19 @@ func (r *resourceTFEOAuthClient) Schema(ctx context.Context, req resource.Schema
239238
"oauth_token_id": schema.StringAttribute{
240239
Description: "OAuth Token ID for the OAuth Client",
241240
Computed: true,
242-
PlanModifiers: []planmodifier.String{
243-
stringplanmodifier.RequiresReplace(),
244-
},
245241
},
246242

247243
"agent_pool_id": schema.StringAttribute{
248244
Description: "An existing agent pool ID within the organization that has Private VCS support enabled",
249245
Optional: true,
250246
Computed: true,
251-
PlanModifiers: []planmodifier.String{
252-
stringplanmodifier.RequiresReplace(),
253-
},
254247
},
255248

256249
"organization_scoped": schema.BoolAttribute{
257250
Description: "Whether or not the oauth client is scoped to all projects and workspaces in the organization",
258251
Optional: true,
259252
Computed: true,
260253
Default: booldefault.StaticBool(true),
261-
PlanModifiers: []planmodifier.Bool{
262-
boolplanmodifier.RequiresReplace(),
263-
},
264254
},
265255
},
266256
}

0 commit comments

Comments
 (0)