Lucee 6 Datasource Names

Is anyone having issues creating datasources with hyphens in them?

We have various services in our system that use datasources in either this or created via the cfadmin tag.

Going from Lucee 5 to 6 is having issues creating the datasources via the cfadmin tag with the error

Trying to create a data source with a name that is invalid. Data source Names must match proper variable naming conventions

Don’t forget to tell us about your stack!

OS: Docker
Java Version: 11
Tomcat Version: 9.0.83-jdk11-corretto
Lucee Version:

Try this.datasourses[‘my-dns-name’]

Datasources my not be the correct property, but you get the idea

Yes that works, that was what I was referring to at the start. CFAdmin now has a RegEx check which is stopping us use if for some of our services, so we’ve rolled back most of the update now and are investigating other options.