Skip to content

Commit

Permalink
fix - Default site for Tableau Server
Browse files Browse the repository at this point in the history
  • Loading branch information
GtheSheep authored Sep 18, 2023
2 parents c48e68f + 7c403f0 commit 871f614
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 9 deletions.
2 changes: 1 addition & 1 deletion docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
8 changes: 0 additions & 8 deletions tableau/provider.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down

0 comments on commit 871f614

Please sign in to comment.