Leverage terraform for cross platform provisioning

Hi Team,

I have installed Terraform CLI on an AWS instance as part of cross platform provisioning need to test few templates on Azure as well.

To get this, Terraform is prompting to install Azure CLI, when I try to install Azure CLI on AWS server were terraform CLI is installed i see below error -

Error: python-libs conflicts with python-virtualenv-1.10.1-4.el7.noarch
Error: Package: python-devel-2.7.5-58.el7.x86_64 (ultra-centos-7.4-base)
Requires: python(x86-64) = 2.7.5-58.el7
Installed: python-2.7.5-68.el7.x86_64 (installed)
python(x86-64) = 2.7.5-68.el7
Available: python-2.7.5-58.el7.x86_64 (ultra-centos-7.4-base)
python(x86-64) = 2.7.5-58.el7

How can I address this. Can we install Azur-CLI on AWS server to make Terraform work.
OS - CentOS Linux release 7.4.1708 (Core)
Please help.

Hi @gowrishec!

Unfortunately this seems to be more of an Azure CLI question than a Terraform question, and this error seems to be coming from the OS package manager rather than from Terraform.

You’re likely to get a better answer if you ask in a forum about the Azure CLI in particular. I’d start by checking if the question is in the Azure CLI FAQ list, and if not perhaps the development team for that repository will be able to offer some help.

I’m afraid I’m not familiar with running the Azure CLI on CentOS 7.4, so I don’t have any specific troubleshooting ideas here.