From e975e84c327f1a1d810c71c6d350403a0946937d Mon Sep 17 00:00:00 2001 From: ike-lacey Date: Thu, 14 Sep 2023 14:22:06 -0400 Subject: [PATCH 1/2] Site needs to be blank for enterprise account. --- tableau/provider.go | 8 -------- 1 file changed, 8 deletions(-) diff --git a/tableau/provider.go b/tableau/provider.go index f51db2e..8a13dbb 100644 --- a/tableau/provider.go +++ b/tableau/provider.go @@ -217,14 +217,6 @@ func (p *tableauProvider) Configure(ctx context.Context, req provider.ConfigureR ) } - if site == "" { - resp.Diagnostics.AddAttributeError( - path.Root("site"), - "Missing Tableau Site", - "Tableau Site must be provided in order to establish a connection", - ) - } - if resp.Diagnostics.HasError() { return } From 7c403f0e361ca2e17b5a03903e243ccf39b2e12c Mon Sep 17 00:00:00 2001 From: ike-lacey Date: Thu, 14 Sep 2023 14:30:13 -0400 Subject: [PATCH 2/2] Updating docs --- docs/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/index.md b/docs/index.md index b3abf26..aec312d 100644 --- a/docs/index.md +++ b/docs/index.md @@ -30,5 +30,5 @@ provider "tableau" { - `personal_access_token_secret` (String, Sensitive) Personal access token secret - TABLEAU_PERSONAL_ACCESS_TOKEN_SECRET env var - `server_url` (String) URL of your Tableau server - TABLEAU_SERVER_URL env var - `server_version` (String) Version of the server identified in URL - TABLEAU_SERVER_VERSION env var -- `site` (String) Site name from your Tableau URL - TABLEAU_SITE_NAME env var +- `site` (String) Site name from your Tableau URL - TABLEAU_SITE_NAME env var - for Tableau Server default sites leave as "" - `username` (String) Login Username - TABLEAU_USERNAME env var