[BUG] - Project Names and Namespaces with Underscores Break in Certain Providers #2001
Labels
area: terraform 💾
needs: tests ✅
This contribution is missing tests
type: bug 🐛
Something isn't working
Describe the bug
Project names and namespaces with underscores break because they're not DNS compliant (or escaped). The first time this issue is encountered when deploying in AWS is trying to create S3 bucket because it used the pattern [project_name]-[namespace]-terraform-state. But if that were updated there would surely be others in later stages (most K8S resource names must be DNS compliant, and so _ are illegal).
Expected behavior
Project names and namespaces that are legal as defined by Nebari should be able to successfully create resources.
OS and architecture in which you are running Nebari
Ubuntu 22.04 amd64
How to Reproduce the problem?
nebari init aws -p test_project
nebari deploy -c nebari-config.yaml
Command output
Versions and dependencies used.
No response
Compute environment
None
Integrations
No response
Anything else?
No response
The text was updated successfully, but these errors were encountered: