Skip to content

Commit

Permalink
default for workspace OA
Browse files Browse the repository at this point in the history
  • Loading branch information
shaswot77 committed Jan 25, 2024
1 parent 8a1bd60 commit da3e067
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions internal/provider/resource_work_space.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ import (
"github.com/hashicorp/terraform-plugin-framework/path"
"github.com/hashicorp/terraform-plugin-framework/resource"
"github.com/hashicorp/terraform-plugin-framework/resource/schema"
"github.com/hashicorp/terraform-plugin-framework/resource/schema/booldefault"
"github.com/hashicorp/terraform-plugin-framework/resource/schema/listdefault"
"github.com/hashicorp/terraform-plugin-framework/resource/schema/planmodifier"
"github.com/hashicorp/terraform-plugin-framework/resource/schema/stringdefault"
Expand Down Expand Up @@ -111,6 +112,7 @@ func (r *workspaceResource) Schema(_ context.Context, req resource.SchemaRequest
Description: "Whether open access is enabled for the workspace",
Optional: true,
Computed: true,
Default: booldefault.StaticBool(false),
},
"id": schema.StringAttribute{
Description: "The ID of the workspace",
Expand Down

0 comments on commit da3e067

Please sign in to comment.