@m4xm0rris thanks. I was using template_file data source with xenorchestra_cloud_config data source like this:
But I found answer to both of us... Some video linked me here templatefile vs template_file. Resulting that it is better to use templatefile function to match terraform version and for working with different data types. But in the essence templatefile and template_file do the same thing.