Skip to content

Commit

Permalink
chore: remove dynamic module (#2755)
Browse files Browse the repository at this point in the history
This downgrades code under `./dynamic` from a Go module to a regular
package.
  • Loading branch information
t0yv0 authored Dec 17, 2024
1 parent 44613e8 commit b337517
Show file tree
Hide file tree
Showing 16 changed files with 27 additions and 3,350 deletions.
2 changes: 1 addition & 1 deletion dynamic/Makefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
build: bin
go build \
-o bin/pulumi-resource-terraform-provider \
github.com/pulumi/pulumi-terraform-bridge/dynamic
github.com/pulumi/pulumi-terraform-bridge/v3/dynamic

install: build
pulumi plugin rm resource terraform-provider --all --yes
Expand Down
4 changes: 2 additions & 2 deletions dynamic/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ A representative gRPC handler looks like this:
// tfprotov6/provider.go
import (
"github.com/pulumi/pulumi-terraform-bridge/v3/pkg/vendored/tfplugin6"
"github.com/pulumi/pulumi-terraform-bridge/dynamic/internal/shim/protov6/translate"
"github.com/pulumi/pulumi-terraform-bridge/v3/dynamic/internal/shim/protov6/translate"
)

...
Expand Down Expand Up @@ -270,7 +270,7 @@ These flags are hidden because they are expected to be used by other Pulumi proc
## Releasing & [`pulumi/pulumi-terraform-provider`](https://github.com/pulumi/pulumi-terraform-provider)

The `pulumi-terraform-provider` codebase is located in
[github.com/pulumi/pulumi-terraform-bridge/dynamic](https://github.com/pulumi/pulumi-terraform-bridge/blob/master/dynamic). However, the provider is released from
[github.com/pulumi/pulumi-terraform-bridge/v3/dynamic](https://github.com/pulumi/pulumi-terraform-bridge/blob/master/dynamic). However, the provider is released from
[github.com/pulumi/pulumi-terraform-provider](https://github.com/pulumi/pulumi-terraform-provider). There are 2 reasons for this:

1. Pulumi's plugin discovery mechanism assumes that official plugins are located at
Expand Down
262 changes: 0 additions & 262 deletions dynamic/go.mod

This file was deleted.

Loading

0 comments on commit b337517

Please sign in to comment.