-
-
Notifications
You must be signed in to change notification settings - Fork 59
Validate Organization name does not contain the character "-" #1705
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Hello @gfranco-nos it looks like it is failing in this particular line of the code terrakube/registry/src/main/java/org/terrakube/registry/service/provider/ProviderServiceImpl.java Line 29 in 8fc8d68
The code is trying to find the first organization in the array and it is searching for terrakube/registry/src/main/java/org/terrakube/registry/service/provider/ProviderServiceImpl.java Line 28 in 8fc8d68
This is the particular query to the Terrakube API that is running behind the scene |
Ok! Trying with an org without the "-" in the name worked! But I had to make a change in the PSQL DB, in the
When the implementation POST payload were:
Now with the fixed data type I got a Thanks! PS: The org can't have a "-" thing is a bug or a feature? |
Maybe a bug, but not sure how to validate the name does not contain "-" for exiting organizations. By the way what should be the correct size for trust signature so I can include the script to update the length? |
I've just changed to Text type, just |
Bug description 🐞
When trying to init terraform with a provider stored in Terrakube Registry, it's returning a 500 Error in the versions route.
GET Request response from terrakube:
Registry Error log:
Steps to reproduce
Created a provider called thunder-vlan in the demo-org organization of Terrakube
Configured the terraform to install the provider
When issued the
terraform init
command, it returns a 500 Error:Expected behavior
Init terraform successful
Example repository
No response
Anything else?
Registry is behind a proxy to get to the internet.
Provider data:
Version data:
Implementation Data
The text was updated successfully, but these errors were encountered: