Skip to content
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

Domain length validation #5

Open
gelo22 opened this issue Apr 28, 2022 · 0 comments
Open

Domain length validation #5

gelo22 opened this issue Apr 28, 2022 · 0 comments

Comments

@gelo22
Copy link

gelo22 commented Apr 28, 2022

What I expect if domain name more than limit:
before terraform apply I want to see some error and some info how to fix it.

What I see right now:
terraform applying code and after some time show error

Error: Error running command 'if [ 41 -ge 38 ]; then echo "ERR: 
The length of the domain for kubeapi (domain:cp.cdev-monitoring-stack-test.cluster.dev, length:41) must not exceed 37 characters.
Domain name includes variables 'var.cluster_name' (cdev-monitoring-stack-test) and 'var.domain' (cdev-monitoring-stack-test.cluster.dev).

then I should destroy created resources, fix variables length and should try to deploy again

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant