We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see ourdocumentation.
There was an error while loading.Please reload this page.
1 parent6ca152d commit1eaeedeCopy full SHA for 1eaeede
provider/app.go
@@ -2,6 +2,7 @@ package provider
2
3
import (
4
"context"
5
+"fmt"
6
"net/url"
7
"regexp"
8
@@ -83,6 +84,18 @@ func appResource() *schema.Resource {
83
84
Optional:true,
85
ForceNew:true,
86
},
87
+"open_in": {
88
+Type:schema.TypeString,
89
+Description:"The application to open the app in.",
90
+Optional:true,
91
+ForceNew:true,
92
+ValidateFunc:func(iinterface{},sstring) ([]string, []error) {
93
+ifs=="tab"||s=="window"||s=="slim-window" {
94
+returnnil,nil
95
+}
96
+returnnil, []error{fmt.Errorf("invalid open_in value %q, must be one of\"tab\",\"window\" or\"slim-window\"",s)}
97
+},
98
99
"icon": {
100
Type:schema.TypeString,
101
Description:"A URL to an icon that will display in the dashboard. View built-in "+