diff --git a/docs/resources/group.md b/docs/resources/group.md index 74ab871..f7d32a5 100644 --- a/docs/resources/group.md +++ b/docs/resources/group.md @@ -25,4 +25,10 @@ description: |- - `id` (String) The ID of this resource. - `last_updated` (String) +## Import +Import is supported using the following syntax: + +```shell +terraform import tableau_group.example "group_id" +``` \ No newline at end of file diff --git a/docs/resources/group_user.md b/docs/resources/group_user.md index c69a037..9faf4bb 100644 --- a/docs/resources/group_user.md +++ b/docs/resources/group_user.md @@ -26,3 +26,10 @@ description: |- - `last_updated` (String) +## Import + +Import is supported using the following syntax: + +```shell +terraform import group_user.example "group_id:user_id" +``` \ No newline at end of file diff --git a/docs/resources/project.md b/docs/resources/project.md index 43eec2b..b4fc29e 100644 --- a/docs/resources/project.md +++ b/docs/resources/project.md @@ -30,4 +30,10 @@ description: |- - `id` (String) The ID of this resource. - `last_updated` (String) +## Import +Import is supported using the following syntax: + +```shell +terraform import tableau_project.example "project_id" +``` diff --git a/docs/resources/user.md b/docs/resources/user.md index 1038941..e2da4c4 100644 --- a/docs/resources/user.md +++ b/docs/resources/user.md @@ -28,4 +28,10 @@ description: |- - `id` (String) The ID of this resource. - `last_updated` (String) +## Import +Import is supported using the following syntax: + +```shell +terraform import tableau_user.example "user_id" +``` \ No newline at end of file diff --git a/tableau/group_resource.go b/tableau/group_resource.go index c35445d..6910e26 100644 --- a/tableau/group_resource.go +++ b/tableau/group_resource.go @@ -59,7 +59,10 @@ func (r *groupResource) Schema(_ context.Context, _ resource.SchemaRequest, resp stringvalidator.OneOf([]string{ "Creator", "Explorer", + "Interactor", + "Publisher", "ExplorerCanPublish", + "ServerAdministrator", "SiteAdministratorExplorer", "SiteAdministratorCreator", "Unlicensed", diff --git a/tableau/user_resource.go b/tableau/user_resource.go index fc5cc05..b47df52 100644 --- a/tableau/user_resource.go +++ b/tableau/user_resource.go @@ -70,7 +70,10 @@ func (r *userResource) Schema(_ context.Context, _ resource.SchemaRequest, resp stringvalidator.OneOf([]string{ "Creator", "Explorer", + "Interactor", + "Publisher", "ExplorerCanPublish", + "ServerAdministrator", "SiteAdministratorExplorer", "SiteAdministratorCreator", "Unlicensed",