While executing a plan command for following code , I am getting an error .
Error : Terraform encountered an error while generating this plan.
╷
│ Error: Unable to Create Tableau API Client
│
│ with provider[“registry.terraform.io/gthesheep/tableau”],
**│ on main_2.tf line 10, in provider “tableau”: **
│ 10: provider “tableau” {
│
**│ An unexpected error occurred when creating the **
**│ Tableau API client. If the error is not clear, please **
│ contact the provider developers.
│
│ Tableau Client Error: unexpected end of JSON input
Code :
terraform {
required_providers {
tableau = {
source = “GtheSheep/tableau”
version = “0.0.17”
}
}
}
provider “tableau” {
server_url = “https://prod-xyz-a.online.tableau.com/”
server_version = “20242.24.0”
site = “"
username = ""
password = "***********”
}
resource “tableau_project” “test” {
name = “test”
description = “Moo”
content_permissions = “LockedToProject”
}
If I just execute code without adding any resource , it executing without an error . after adding resource the error is coming .
please help here !!
Thanks!!