Skip to content

Commit 84ff851

Browse files
committed
fix: Allow digits in plugin names
1 parent 82678ac commit 84ff851

File tree

2 files changed

+12
-9
lines changed

2 files changed

+12
-9
lines changed
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
kind: Fixed
2+
body: Allow digits in plugin names
3+
time: 2025-08-08T09:28:38.509621+02:00

internal/config/schemas/schema-1.yaml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ properties:
1616
- type: string
1717
- type: object
1818
properties:
19-
'$ref':
19+
"$ref":
2020
type: string
2121
- type: array
2222
items:
@@ -43,7 +43,7 @@ definitions:
4343
type: object
4444
additionalProperties: false
4545
patternProperties:
46-
"^[a-zA-Z-]+$":
46+
"^[a-zA-Z0-9-]+$":
4747
type: object
4848
additionalProperties: false
4949
properties:
@@ -121,7 +121,7 @@ definitions:
121121

122122
RemoteState:
123123
type: object
124-
properties: { }
124+
properties: {}
125125

126126
SiteConfig:
127127
type: object
@@ -244,15 +244,15 @@ definitions:
244244
description: |
245245
Variables are used to configure the components. They are passed to the terraform module as a terraform
246246
variable with the name `variables` containing an object with the same fields:
247-
247+
248248
```yaml
249249
components:
250250
- name: my-component
251251
variables:
252252
my_string_field: "my string value"
253253
my_number_field: 42
254254
```
255-
255+
256256
```
257257
variable "variables" {
258258
type = object({
@@ -267,15 +267,15 @@ definitions:
267267
description: |
268268
Secrets are used to configure the components. They are passed to the terraform module as a terraform
269269
variable with the name `secrets` containing an object with the same fields:
270-
270+
271271
```yaml
272272
components:
273273
- name: my-component
274274
secrets:
275275
my_string_field: "my string value"
276276
my_number_field: 42
277277
```
278-
278+
279279
```
280280
variable "secrets" {
281281
type = object({
@@ -293,11 +293,11 @@ definitions:
293293
- site: deploy site-based; this means all components will be deployed as part of a single terraform file
294294
- site-component: deploy site-component based; this means each site component will be deployed as a separate terraform
295295
file
296-
296+
297297
These configurations can be set both at the root level and per site component. The combination of root site with
298298
specific site components is also supported (this will deploy all site components as part of a single terraform file,
299299
excepting the ones that have a specific deployment configuration). The other way around is not supported.
300-
300+
301301
The default is site.
302302
properties:
303303
type:

0 commit comments

Comments
 (0)