Skip to content

Commit 203b262

Browse files
committed
add open_in parameter
1 parent ebd01ef commit 203b262

File tree

1 file changed

+0
-22
lines changed

1 file changed

+0
-22
lines changed

provider/app.go

-22
Original file line numberDiff line numberDiff line change
@@ -236,28 +236,6 @@ func appResource() *schema.Resource {
236236
ForceNew: true,
237237
Optional: true,
238238
},
239-
"open_in": {
240-
Type: schema.TypeString,
241-
Description: "Determines where the app will be opened. Valid values are `\"tab\"`, `\"window\"`, and `\"slim-window\" (default)`. " +
242-
"`\"tab\"` opens in a new tab in the same browser window. `\"window\"` opens a fresh browser window with navigation options. " +
243-
"`\"slim-window\"` opens a fresh browser window with slim navigation options.",
244-
ForceNew: true,
245-
Optional: true,
246-
Default: "slim-window",
247-
ValidateDiagFunc: func(val interface{}, c cty.Path) diag.Diagnostics {
248-
valStr, ok := val.(string)
249-
if !ok {
250-
return diag.Errorf("expected string, got %T", val)
251-
}
252-
253-
switch valStr {
254-
case "tab", "window", "slim-window":
255-
return nil
256-
}
257-
258-
return diag.Errorf(`invalid "coder_app" open_in value, must be one of "tab", "window", "slim-window": %q`, valStr)
259-
},
260-
},
261239
},
262240
}
263241
}

0 commit comments

Comments
 (0)