You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description: `List of terms (the order in the list is not important, they are evaluated in order of priority).`,
78
78
Elem: &schema.Resource{
79
79
Schema: map[string]*schema.Schema{
80
+
"match": {
81
+
Type: schema.TypeList,
82
+
Required: true,
83
+
Description: `CEL expression evaluated against a route to determine if this term applies (see Policy Language).`,
84
+
MaxItems: 1,
85
+
Elem: &schema.Resource{
86
+
Schema: map[string]*schema.Schema{
87
+
"expression": {
88
+
Type: schema.TypeString,
89
+
Required: true,
90
+
Description: `Textual representation of an expression in Common Expression Language syntax.`,
91
+
},
92
+
"description": {
93
+
Type: schema.TypeString,
94
+
Optional: true,
95
+
Description: `Description of the expression`,
96
+
},
97
+
"location": {
98
+
Type: schema.TypeString,
99
+
Optional: true,
100
+
Description: `String indicating the location of the expression for error reporting, e.g. a file name and a position in the file`,
101
+
},
102
+
"title": {
103
+
Type: schema.TypeString,
104
+
Optional: true,
105
+
Description: `Title for the expression, i.e. a short string describing its purpose.`,
106
+
},
107
+
},
108
+
},
109
+
},
80
110
"priority": {
81
111
Type: schema.TypeInt,
82
112
Required: true,
@@ -114,36 +144,6 @@ purpose.`,
114
144
},
115
145
},
116
146
},
117
-
"match": {
118
-
Type: schema.TypeList,
119
-
Optional: true,
120
-
Description: `CEL expression evaluated against a route to determine if this term applies (see Policy Language). When not set, the term applies to all routes.`,
121
-
MaxItems: 1,
122
-
Elem: &schema.Resource{
123
-
Schema: map[string]*schema.Schema{
124
-
"expression": {
125
-
Type: schema.TypeString,
126
-
Required: true,
127
-
Description: `Textual representation of an expression in Common Expression Language syntax.`,
128
-
},
129
-
"description": {
130
-
Type: schema.TypeString,
131
-
Optional: true,
132
-
Description: `Description of the expression`,
133
-
},
134
-
"location": {
135
-
Type: schema.TypeString,
136
-
Optional: true,
137
-
Description: `String indicating the location of the expression for error reporting, e.g. a file name and a position in the file`,
138
-
},
139
-
"title": {
140
-
Type: schema.TypeString,
141
-
Optional: true,
142
-
Description: `Title for the expression, i.e. a short string describing its purpose.`,
0 commit comments