Skip to content

Commit

Permalink
Update docs from ImportBasePath change
Browse files Browse the repository at this point in the history
See pulumi/pulumi-terraform-bridge#2705

That changed the ImportBasePath used for Go packages to match up what sdk-gen
currently writes in terms of folder structure.

This updates the docs so the import statments match.
  • Loading branch information
Frassle committed Dec 10, 2024
1 parent 6016223 commit e8e2947
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ To use this SDK in your Go project, run the following command:

You can then use the SDK in your Go code with:

import "github.com/pulumi/pulumi-terraform-provider/sdks/go/random/v3"
import "github.com/pulumi/pulumi-terraform-provider/sdks/go/random/v3/random"

```

Expand Down Expand Up @@ -171,7 +171,7 @@ random.Pet("hi")
package main

import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/random/v3"
"github.com/pulumi/pulumi-terraform-provider/sdks/go/random/v3/random"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

Expand Down

0 comments on commit e8e2947

Please sign in to comment.