We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 396a3ae commit 73c9df1Copy full SHA for 73c9df1
fwprovider/cluster/sdn/zone/resource_generic.go
@@ -97,7 +97,7 @@ func genericAttributesWith(extraAttributes ...map[string]schema.Attribute) map[s
97
Validators: []validator.String{
98
// https://github.com/proxmox/pve-network/blob/faaf96a8378a3e41065018562c09c3de0aa434f5/src/PVE/Network/SDN/Zones/Plugin.pm#L34
99
stringvalidator.RegexMatches(
100
- regexp.MustCompile(`^[A-Za-z][A-Za-z0-9]*[A-Za-z0-9]$`),
+ regexp.MustCompile(`^[A-Za-z][A-Za-z0-9]*$`),
101
"must be a valid zone identifier",
102
),
103
stringvalidator.LengthAtMost(8),
0 commit comments