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 068c895 commit 61309a1Copy full SHA for 61309a1
pkg/generate/postprocessing/preferred_resource_name.go
@@ -68,5 +68,8 @@ func CleanResourceName(name string) string {
68
if cleaned[0] >= '0' && cleaned[0] <= '9' {
69
cleaned = "_" + cleaned
70
}
71
+ if cleaned[0] == '-' {
72
+ cleaned = "_" + cleaned
73
+ }
74
return cleaned
75
0 commit comments