diff --git a/integrations/terraform/provider/credentials.go b/integrations/terraform/provider/credentials.go index cb29f23190af0..0e6a26804ad65 100644 --- a/integrations/terraform/provider/credentials.go +++ b/integrations/terraform/provider/credentials.go @@ -25,15 +25,15 @@ import ( "text/template" "time" - apitypes "github.com/gravitational/teleport/api/types" - "github.com/gravitational/teleport/integrations/lib/embeddedtbot" - tbotconfig "github.com/gravitational/teleport/lib/tbot/config" "github.com/gravitational/trace" "github.com/hashicorp/terraform-plugin-framework/diag" "github.com/hashicorp/terraform-plugin-log/tflog" "github.com/gravitational/teleport/api/client" "github.com/gravitational/teleport/api/constants" + apitypes "github.com/gravitational/teleport/api/types" + "github.com/gravitational/teleport/integrations/lib/embeddedtbot" + tbotconfig "github.com/gravitational/teleport/lib/tbot/config" ) var supportedCredentialSources = CredentialSources{ diff --git a/integrations/terraform/testlib/machineid_join_test.go b/integrations/terraform/testlib/machineid_join_test.go index 49033276e8c33..1915895496f76 100644 --- a/integrations/terraform/testlib/machineid_join_test.go +++ b/integrations/terraform/testlib/machineid_join_test.go @@ -3,23 +3,26 @@ package testlib import ( "context" "fmt" + "os" + "path/filepath" + "testing" + "time" + + "github.com/hashicorp/terraform-plugin-framework/providerserver" + "github.com/hashicorp/terraform-plugin-go/tfprotov6" + "github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource" + "github.com/jonboulle/clockwork" + "github.com/stretchr/testify/require" + headerv1 "github.com/gravitational/teleport/api/gen/proto/go/teleport/header/v1" machineidv1 "github.com/gravitational/teleport/api/gen/proto/go/teleport/machineid/v1" "github.com/gravitational/teleport/api/types" "github.com/gravitational/teleport/integrations/lib/testing/fakejoin" "github.com/gravitational/teleport/integrations/lib/testing/integration" - "github.com/gravitational/teleport/integrations/terraform/provider" "github.com/gravitational/teleport/lib/kubernetestoken" "github.com/gravitational/teleport/lib/services" - "github.com/hashicorp/terraform-plugin-framework/providerserver" - "github.com/hashicorp/terraform-plugin-go/tfprotov6" - "github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource" - "github.com/jonboulle/clockwork" - "github.com/stretchr/testify/require" - "os" - "path/filepath" - "testing" - "time" + + "github.com/gravitational/teleport/integrations/terraform/provider" ) func TestTerraformJoin(t *testing.T) {