Skip to content

Commit

Permalink
Fixes for linting & Python SDK build
Browse files Browse the repository at this point in the history
Signed-off-by: Ringo De Smet <[email protected]>
  • Loading branch information
ringods committed Nov 5, 2024
1 parent ea5661a commit a0eb8a5
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 3 deletions.
7 changes: 6 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,9 @@ provider/**/schema-embed.json
**/dist
_out

go.work*
go.work*

__pycache__
venv
sdk/python/build
sdk/python/*.egg-info
2 changes: 2 additions & 0 deletions provider/cmd/pulumi-resource-talos/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ package main

import (
"context"

// embed is used to embed the schema files in the provider
_ "embed"

"github.com/pulumi/pulumi-terraform-bridge/pf/tfbridge"
Expand Down
8 changes: 6 additions & 2 deletions provider/resources.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,19 @@
package talos

import (
_ "embed"
"fmt"
"path/filepath"

// embed is used to embed the schema files in the provider
_ "embed"

"github.com/siderolabs/terraform-provider-talos/pkg/talos"

pf "github.com/pulumi/pulumi-terraform-bridge/pf/tfbridge"
"github.com/pulumi/pulumi-terraform-bridge/v3/pkg/tfbridge"
"github.com/pulumi/pulumi/pkg/v3/codegen/schema"

"github.com/pulumiverse/pulumi-talos/provider/pkg/version"
"github.com/siderolabs/terraform-provider-talos/pkg/talos"
)

// all of the talos token components used below.
Expand Down

0 comments on commit a0eb8a5

Please sign in to comment.