Skip to content

Commit 5bf9ce2

Browse files
committed
remove provider schema default for auto_apply
It doesn't make sense to allow a provider default when there are two resources that manage the same setting.
1 parent 06f8326 commit 5bf9ce2

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

internal/provider/resource_tfe_workspace_settings.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ import (
1717
"github.com/hashicorp/terraform-plugin-framework/path"
1818
"github.com/hashicorp/terraform-plugin-framework/resource"
1919
"github.com/hashicorp/terraform-plugin-framework/resource/schema"
20-
"github.com/hashicorp/terraform-plugin-framework/resource/schema/booldefault"
2120
"github.com/hashicorp/terraform-plugin-framework/resource/schema/planmodifier"
2221
"github.com/hashicorp/terraform-plugin-framework/resource/schema/stringplanmodifier"
2322
"github.com/hashicorp/terraform-plugin-framework/schema/validator"
@@ -355,7 +354,6 @@ func (r *workspaceSettings) Schema(ctx context.Context, req resource.SchemaReque
355354
Optional: true,
356355
Computed: true,
357356
Description: "If set to false a human will have to manually confirm a plan in HCP Terraform's UI to start an apply. If set to true, this resource will be automatically applied.",
358-
Default: booldefault.StaticBool(false),
359357
},
360358

361359
"assessments_enabled": schema.BoolAttribute{

0 commit comments

Comments
 (0)