We were unable to load Disqus. If you are a moderator please see our troubleshooting guide.

Tarlan Isaev • 5 years ago

Thank for the awesome tutorial mate :)
Could you pls help me with this issue? I've already exported a domain name and added it to the .tfvars file.

Error: Error creating Domain: POST https://api.digitalocean.com/v2/domains: 422 Name can not be just a TLD.


on domain.tf line 7, in resource "digitalocean_domain" "default":
7: resource "digitalocean_domain" "default" {

Jim Angel • 5 years ago

Thanks! It looks like the DO provider is not happy with a single domain (and maybe expecting a sub domain like myjenkins.example.com). I will give it a go this weekend when time permits!

Tarlan Isaev • 5 years ago

Thanks for replying back Jim. Yeah, would be cool to see how it's resolved :)

Jim Angel • 5 years ago

Sorry this took me a bit... I just ran through the tutorial again with my domain and it worked with no issues. I had to update some of the Terraform files for 0.13.2. Give it a go again and let me know if you have better luck! Thanks!

Tarlan Isaev • 5 years ago

Hey Jim, oh jeez so sorry. I was able to fix it just don't remember what was an exact issue due to my short memory span lol. Anyway, will definitely give it a try yet again and in my plans to convert those shell scripts to Ansible playbooks not sure if I could though :)