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

Lines changed: 0 additions & 22 deletions
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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy