diff --git a/docs/pages/reference/terraform-provider/resources/dynamic_windows_desktop.mdx b/docs/pages/reference/terraform-provider/resources/dynamic_windows_desktop.mdx index 28d26132d233d..4484e3b97cf13 100644 --- a/docs/pages/reference/terraform-provider/resources/dynamic_windows_desktop.mdx +++ b/docs/pages/reference/terraform-provider/resources/dynamic_windows_desktop.mdx @@ -11,8 +11,6 @@ description: This page describes the supported values of the teleport_dynamic_wi ## Example Usage ```hcl -# Teleport Database - resource "teleport_dynamic_windows_desktop" "example" { version = "v1" metadata = { diff --git a/integrations/terraform/examples/resources/teleport_dynamic_windows_desktop/resource.tf b/integrations/terraform/examples/resources/teleport_dynamic_windows_desktop/resource.tf index a6dfa8b2d3faf..04c8761db6aba 100644 --- a/integrations/terraform/examples/resources/teleport_dynamic_windows_desktop/resource.tf +++ b/integrations/terraform/examples/resources/teleport_dynamic_windows_desktop/resource.tf @@ -1,5 +1,3 @@ -# Teleport Database - resource "teleport_dynamic_windows_desktop" "example" { version = "v1" metadata = { diff --git a/lib/services/presets.go b/lib/services/presets.go index 20f30be9f8769..2601730179647 100644 --- a/lib/services/presets.go +++ b/lib/services/presets.go @@ -578,12 +578,14 @@ func NewPresetTerraformProviderRole() types.Role { Spec: types.RoleSpecV6{ Allow: types.RoleConditions{ // In Teleport, you can only see what you have access to. To be able to reconcile - // Apps, Databases, and Nodes, Terraform must be able to access them all. + // Apps, Databases, Dynamic Windows Desktops, and Nodes, Terraform must be able to + // access them all. // For Databases and Nodes, Terraform cannot actually access them because it has no // Login/user set. - AppLabels: map[string]apiutils.Strings{types.Wildcard: []string{types.Wildcard}}, - DatabaseLabels: map[string]apiutils.Strings{types.Wildcard: []string{types.Wildcard}}, - NodeLabels: map[string]apiutils.Strings{types.Wildcard: []string{types.Wildcard}}, + AppLabels: map[string]apiutils.Strings{types.Wildcard: []string{types.Wildcard}}, + DatabaseLabels: map[string]apiutils.Strings{types.Wildcard: []string{types.Wildcard}}, + NodeLabels: map[string]apiutils.Strings{types.Wildcard: []string{types.Wildcard}}, + WindowsDesktopLabels: map[string]apiutils.Strings{types.Wildcard: []string{types.Wildcard}}, // Every resource currently supported by the Terraform provider. Rules: []types.Rule{ {