Skip to content

Commit 4c91969

Browse files
authored
Fix package location: pf lives under pkg (#3222)
A few documentation fixes to reflect the correct Go package location. Old: ```go github.com/pulumi/pulumi-terraform-bridge/v3/pf/tfgen ``` New: ```go github.com/pulumi/pulumi-terraform-bridge/v3/pkg/pf/tfgen ```
1 parent 472fcce commit 4c91969

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

docs/guides/new-pf-provider.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ Follow these steps to bridge a Terraform Provider to Pulumi.
4646
package main
4747
4848
import (
49-
"github.com/pulumi/pulumi-terraform-bridge/v3/pf/tfgen"
49+
"github.com/pulumi/pulumi-terraform-bridge/v3/pkg/pf/tfgen"
5050
// import myprovider
5151
)
5252

docs/guides/upgrade-sdk-to-mux.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ Framework](https://github.com/hashicorp/terraform-plugin-framework?tab=readme).
1414

1515
1. Find the tfgen binary `main` that calls `tfgen.Main` from
1616
`github.com/pulumi/pulumi-terraform-bridge/v3/pkg/tfgen` and update it to call
17-
`tfgen.MainWithMuxer` from `github.com/pulumi/pulumi-terraform-bridge/v3/pf/tfgen`.
17+
`tfgen.MainWithMuxer` from `github.com/pulumi/pulumi-terraform-bridge/v3/pkg/pf/tfgen`.
1818

1919
Note that the extra version parameter is removed from `tfgen.Main`, so this code:
2020

@@ -29,7 +29,7 @@ Framework](https://github.com/hashicorp/terraform-plugin-framework?tab=readme).
2929
Becomes:
3030

3131
``` go
32-
import "github.com/pulumi/pulumi-terraform-bridge/v3/pf/tfgen"
32+
import "github.com/pulumi/pulumi-terraform-bridge/v3/pkg/pf/tfgen"
3333

3434
...
3535

pkg/pf/tfbridge/metadata.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ import (
2121
)
2222

2323
// Defines bridged provider metadata that is pre-computed at build time with tfgen (tfgen
24-
// ("github.com/pulumi/pulumi-terraform-bridge/v3/pf/tfgen") and typically made available to the provider
24+
// ("github.com/pulumi/pulumi-terraform-bridge/v3/pkg/pf/tfgen") and typically made available to the provider
2525
// binary at runtime with [embed].
2626
//
2727
// [embed]: https://pkg.go.dev/embed

0 commit comments

Comments
 (0)