# Error - invalid HCL: At 1:8: illegal char while deploying cluster

**URL:** <https://www.singlestore.com/forum/t/error-invalid-hcl-at-1-illegal-char-while-deploying-cluster/3246>\
**Category:** SingleStore Tools\
**Created:** [August 16, 2021, 8:51am UTC](https://www.singlestore.com/forum/t/error-invalid-hcl-at-1-illegal-char-while-deploying-cluster/3246 "2021-08-16T08:51:05Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![e.soden](https://www.singlestore.com/forum/letter_avatar_proxy/v4/letter/e/8491ac/32.png) [@e.soden](https://www.singlestore.com/forum/u/e.soden)\
**Post date:** [August 16, 2021, 8:51am UTC](https://www.singlestore.com/forum/t/error-invalid-hcl-at-1-illegal-char-while-deploying-cluster/3246/1 "2021-08-16T08:51:05Z")

</div>

Dears,

I’m new to memsql. I have succeed to install memsql using cluster-in-a-box parameters. But now I would like to create a cluster over two hosts. I have generated the Yaml file using UI setup but when I try to deploy the cluster I have the following error **invalid HCL: At 1:8: illegal char**.

here my configuration file:  
license: XXXXXXXXX  
high\_availability: true  
root\_password: my\_password  
optimize: true  
memsql\_server\_file\_path: /data/singlestore/packages/singlestoredb-server-7.5.7-b31088a4e0.x86\_64.tar.gz  
hosts:  
- hostname: host1  
nodes:  
- role: Master  
config:  
port: 3306  
localhost: true  
- hostname: host2  
nodes:  
- role: Leaf  
config:  
port: 3306  
- role: Leaf  
config:  
port: 3307  
localhost: false  
ssh:  
host: host2  
port: 22  
user: root  
private\_key: /root/.ssh/id\_rsa

Could you tell me what is wrong in my configuration? It seems that the character at position 8 is ‘:’

Regards  
Emmanuel

---

<div class="post-metadata">

**Author:** ![hanson](https://www.singlestore.com/forum/user_avatar/www.singlestore.com/hanson/32/196_2.png) [@hanson](https://www.singlestore.com/forum/u/hanson)\
**Post date:** [August 18, 2021, 11:02pm UTC](https://www.singlestore.com/forum/t/error-invalid-hcl-at-1-illegal-char-while-deploying-cluster/3246/2 "2021-08-18T23:02:43Z")

</div>

I don’t know what the problem is.

However, consider just using the command line to install your system, not a YAML file. Use sdb-deploy and sdb-admin (after installing toolbox). That might sidestep this problem.

---

<div class="post-metadata">

**Author:** ![e.soden](https://www.singlestore.com/forum/letter_avatar_proxy/v4/letter/e/8491ac/32.png) [@e.soden](https://www.singlestore.com/forum/u/e.soden)\
**Post date:** [August 20, 2021, 3:36pm UTC](https://www.singlestore.com/forum/t/error-invalid-hcl-at-1-illegal-char-while-deploying-cluster/3246/3 "2021-08-20T15:36:15Z")

</div>

Thank you for your help. Finally, I did it using the cluster in a box configuration. But using yaml still not working.
