VMware vSphere provider issue

Hi Team,

We are not able to create the resource in VMWare vSphere client due password incorrect issue. Below VMWare vSphere Client is correct or not. Can you please confirm.

provider “vsphere” {

#version = “~> 1.4.1”

user = var.vsphere_user

password = var.vsphere_password

vsphere_server = “inblr-mvm-1615.eu.uis.unisys.com

If you have a self-signed cert

allow_unverified_ssl = fasle


data “vsphere_datacenter” “dc” {

name = “US_ERL”


Error Message

Error: error setting up new vSphere SOAP client: ServerFaultCode: Cannot complete login due to an incorrect user name or password.

on cmp_main.tf line 1, in provider “vsphere”:
1: provider “vsphere” {


I had these issue as well. Special characters in the password caused the issue. Once password is changed it worked fine.