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: "Conditions to target repositories by property ",
121
122
Elem: &schema.Resource{
122
123
Schema: map[string]*schema.Schema{
123
124
"include": {
124
125
Type: schema.TypeList,
125
126
Required: true,
126
127
Description: "Array of repository names or patterns to include. One of these patterns must match for the condition to pass. Also accepts `~ALL` to include all repositories.",
127
-
Elem: &schema.Schema{
128
-
Type: schema.TypeString,
128
+
Elem: &schema.Resource{
129
+
Schema: map[string]*schema.Schema{
130
+
131
+
"name": {
132
+
Type: schema.TypeString,
133
+
Required: true,
134
+
Description: "The name of the repository property to target",
135
+
},
136
+
"property_values": {
137
+
Type: schema.TypeList,
138
+
Required: true,
139
+
Description: "The values to match for the repository property.",
140
+
Elem: &schema.Schema{
141
+
Type: schema.TypeString,
142
+
},
143
+
},
144
+
"source": {
145
+
Type: schema.TypeString,
146
+
Description: "The source of the repository property. Defaults to 'custom' if not specified.Can be one of: custom, system",
0 commit comments