diff --git a/internal/provider/resource_work_space.go b/internal/provider/resource_work_space.go index 2b1d74c..591e820 100644 --- a/internal/provider/resource_work_space.go +++ b/internal/provider/resource_work_space.go @@ -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" @@ -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",