-
Notifications
You must be signed in to change notification settings - Fork 44
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Dynamic Bridged Providers: Plugin Aquisition (#2080)
Broken off from #1973 for easier review. Fixes pulumi/home#3409
- Loading branch information
Showing
11 changed files
with
3,799 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
LDFLAGS := -ldflags "-X google.golang.org/protobuf/reflect/protoregistry.conflictPolicy=ignore" | ||
|
||
test.unit: | ||
cd internal/shim && go test ${LDFLAGS} ./... | ||
|
||
test: | ||
cd internal/shim && go test ${LDFLAGS} ./... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,206 @@ | ||
module github.com/opentofu/opentofu/shim | ||
|
||
go 1.22.3 | ||
|
||
// Use OpenTofu's fork of hcl (copied from OpenTofu). | ||
replace github.com/hashicorp/hcl/v2 v2.20.1 => github.com/opentofu/hcl/v2 v2.0.0-20240416130056-03228b26f391 | ||
|
||
require ( | ||
github.com/apparentlymart/go-versions v1.0.1 | ||
github.com/hashicorp/go-plugin v1.6.0 | ||
github.com/hashicorp/terraform-plugin-go v0.23.0 | ||
github.com/hashicorp/terraform-plugin-mux v0.16.0 | ||
github.com/hashicorp/terraform-svchost v0.1.1 | ||
github.com/hexops/autogold/v2 v2.2.1 | ||
github.com/opentofu/opentofu v1.7.1 | ||
github.com/opentofu/registry-address v0.0.0-20230920144404-f1e51167f633 | ||
github.com/pulumi/pulumi-terraform-bridge/v3 v3.84.0 | ||
github.com/pulumi/pulumi/sdk/v3 v3.118.0 | ||
github.com/stretchr/testify v1.9.0 | ||
google.golang.org/grpc v1.63.2 | ||
) | ||
|
||
require ( | ||
cloud.google.com/go v0.112.1 // indirect | ||
cloud.google.com/go/compute v1.25.0 // indirect | ||
cloud.google.com/go/compute/metadata v0.2.3 // indirect | ||
cloud.google.com/go/iam v1.1.6 // indirect | ||
cloud.google.com/go/kms v1.15.7 // indirect | ||
cloud.google.com/go/storage v1.39.1 // indirect | ||
dario.cat/mergo v1.0.0 // indirect | ||
github.com/Masterminds/semver v1.5.0 // indirect | ||
github.com/Microsoft/go-winio v0.6.1 // indirect | ||
github.com/ProtonMail/go-crypto v1.1.0-alpha.0 // indirect | ||
github.com/aead/chacha20 v0.0.0-20180709150244-8b13a72661da // indirect | ||
github.com/agext/levenshtein v1.2.3 // indirect | ||
github.com/apparentlymart/go-cidr v1.1.0 // indirect | ||
github.com/apparentlymart/go-textseg/v15 v15.0.0 // indirect | ||
github.com/atotto/clipboard v0.1.4 // indirect | ||
github.com/aws/aws-sdk-go v1.50.36 // indirect | ||
github.com/aws/aws-sdk-go-v2 v1.26.1 // indirect | ||
github.com/aws/aws-sdk-go-v2/aws/protocol/eventstream v1.6.2 // indirect | ||
github.com/aws/aws-sdk-go-v2/config v1.27.11 // indirect | ||
github.com/aws/aws-sdk-go-v2/credentials v1.17.11 // indirect | ||
github.com/aws/aws-sdk-go-v2/feature/ec2/imds v1.16.1 // indirect | ||
github.com/aws/aws-sdk-go-v2/internal/configsources v1.3.5 // indirect | ||
github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.6.5 // indirect | ||
github.com/aws/aws-sdk-go-v2/internal/ini v1.8.0 // indirect | ||
github.com/aws/aws-sdk-go-v2/internal/v4a v1.3.5 // indirect | ||
github.com/aws/aws-sdk-go-v2/service/dynamodb v1.25.5 // indirect | ||
github.com/aws/aws-sdk-go-v2/service/iam v1.31.4 // indirect | ||
github.com/aws/aws-sdk-go-v2/service/internal/accept-encoding v1.11.2 // indirect | ||
github.com/aws/aws-sdk-go-v2/service/internal/checksum v1.3.7 // indirect | ||
github.com/aws/aws-sdk-go-v2/service/internal/endpoint-discovery v1.8.5 // indirect | ||
github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.11.7 // indirect | ||
github.com/aws/aws-sdk-go-v2/service/internal/s3shared v1.17.5 // indirect | ||
github.com/aws/aws-sdk-go-v2/service/kms v1.30.1 // indirect | ||
github.com/aws/aws-sdk-go-v2/service/s3 v1.53.1 // indirect | ||
github.com/aws/aws-sdk-go-v2/service/sqs v1.28.4 // indirect | ||
github.com/aws/aws-sdk-go-v2/service/sso v1.20.5 // indirect | ||
github.com/aws/aws-sdk-go-v2/service/ssooidc v1.23.4 // indirect | ||
github.com/aws/aws-sdk-go-v2/service/sts v1.28.6 // indirect | ||
github.com/aws/smithy-go v1.20.2 // indirect | ||
github.com/aymanbagabas/go-osc52/v2 v2.0.1 // indirect | ||
github.com/bgentry/go-netrc v0.0.0-20140422174119-9fd32a8b3d3d // indirect | ||
github.com/blang/semver v3.5.1+incompatible // indirect | ||
github.com/bmatcuk/doublestar/v4 v4.6.0 // indirect | ||
github.com/cenkalti/backoff/v3 v3.2.2 // indirect | ||
github.com/charmbracelet/bubbles v0.16.1 // indirect | ||
github.com/charmbracelet/bubbletea v0.24.2 // indirect | ||
github.com/charmbracelet/lipgloss v0.7.1 // indirect | ||
github.com/cheggaaa/pb v1.0.29 // indirect | ||
github.com/cloudflare/circl v1.3.7 // indirect | ||
github.com/containerd/console v1.0.4-0.20230313162750-1ae8d489ac81 // indirect | ||
github.com/cyphar/filepath-securejoin v0.2.4 // indirect | ||
github.com/davecgh/go-spew v1.1.1 // indirect | ||
github.com/djherbis/times v1.5.0 // indirect | ||
github.com/edsrzf/mmap-go v1.1.0 // indirect | ||
github.com/emirpasic/gods v1.18.1 // indirect | ||
github.com/fatih/color v1.16.0 // indirect | ||
github.com/felixge/httpsnoop v1.0.4 // indirect | ||
github.com/gedex/inflector v0.0.0-20170307190818-16278e9db813 // indirect | ||
github.com/go-git/gcfg v1.5.1-0.20230307220236-3a3c6141e376 // indirect | ||
github.com/go-git/go-billy/v5 v5.5.0 // indirect | ||
github.com/go-git/go-git/v5 v5.12.0 // indirect | ||
github.com/go-jose/go-jose/v3 v3.0.3 // indirect | ||
github.com/go-logr/logr v1.4.1 // indirect | ||
github.com/go-logr/stdr v1.2.2 // indirect | ||
github.com/gogo/protobuf v1.3.2 // indirect | ||
github.com/golang/glog v1.2.0 // indirect | ||
github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect | ||
github.com/golang/protobuf v1.5.4 // indirect | ||
github.com/google/go-cmp v0.6.0 // indirect | ||
github.com/google/s2a-go v0.1.7 // indirect | ||
github.com/google/uuid v1.6.0 // indirect | ||
github.com/googleapis/enterprise-certificate-proxy v0.3.2 // indirect | ||
github.com/googleapis/gax-go/v2 v2.12.2 // indirect | ||
github.com/grpc-ecosystem/grpc-opentracing v0.0.0-20180507213350-8e809c8a8645 // indirect | ||
github.com/hashicorp/aws-sdk-go-base/v2 v2.0.0-beta.43 // indirect | ||
github.com/hashicorp/errwrap v1.1.0 // indirect | ||
github.com/hashicorp/go-cleanhttp v0.5.2 // indirect | ||
github.com/hashicorp/go-cty v1.4.1-0.20200414143053-d3edf31b6320 // indirect | ||
github.com/hashicorp/go-getter v1.7.4 // indirect | ||
github.com/hashicorp/go-hclog v1.6.3 // indirect | ||
github.com/hashicorp/go-multierror v1.1.1 // indirect | ||
github.com/hashicorp/go-retryablehttp v0.7.5 // indirect | ||
github.com/hashicorp/go-rootcerts v1.0.2 // indirect | ||
github.com/hashicorp/go-safetemp v1.0.0 // indirect | ||
github.com/hashicorp/go-secure-stdlib/parseutil v0.1.8 // indirect | ||
github.com/hashicorp/go-secure-stdlib/strutil v0.1.2 // indirect | ||
github.com/hashicorp/go-sockaddr v1.0.6 // indirect | ||
github.com/hashicorp/go-uuid v1.0.3 // indirect | ||
github.com/hashicorp/go-version v1.6.0 // indirect | ||
github.com/hashicorp/hcl v1.0.0 // indirect | ||
github.com/hashicorp/hcl/v2 v2.20.1 // indirect | ||
github.com/hashicorp/terraform-plugin-log v0.9.0 // indirect | ||
github.com/hashicorp/yamux v0.1.1 // indirect | ||
github.com/hexops/gotextdiff v1.0.3 // indirect | ||
github.com/hexops/valast v1.4.4 // indirect | ||
github.com/inconshreveable/mousetrap v1.1.0 // indirect | ||
github.com/jbenet/go-context v0.0.0-20150711004518-d14ea06fba99 // indirect | ||
github.com/jmespath/go-jmespath v0.4.0 // indirect | ||
github.com/kevinburke/ssh_config v1.2.0 // indirect | ||
github.com/klauspost/compress v1.15.11 // indirect | ||
github.com/lucasb-eyer/go-colorful v1.2.0 // indirect | ||
github.com/mattn/go-colorable v0.1.13 // indirect | ||
github.com/mattn/go-isatty v0.0.20 // indirect | ||
github.com/mattn/go-localereader v0.0.1 // indirect | ||
github.com/mattn/go-runewidth v0.0.15 // indirect | ||
github.com/mitchellh/go-homedir v1.1.0 // indirect | ||
github.com/mitchellh/go-ps v1.0.0 // indirect | ||
github.com/mitchellh/go-testing-interface v1.14.1 // indirect | ||
github.com/mitchellh/go-wordwrap v1.0.1 // indirect | ||
github.com/mitchellh/mapstructure v1.5.0 // indirect | ||
github.com/muesli/ansi v0.0.0-20230316100256-276c6243b2f6 // indirect | ||
github.com/muesli/cancelreader v0.2.2 // indirect | ||
github.com/muesli/reflow v0.3.0 // indirect | ||
github.com/muesli/termenv v0.15.2 // indirect | ||
github.com/natefinch/atomic v1.0.1 // indirect | ||
github.com/nightlyone/lockfile v1.0.0 // indirect | ||
github.com/oklog/run v1.1.0 // indirect | ||
github.com/openbao/openbao/api v0.0.0-20240326035453-c075f0ef2c7e // indirect | ||
github.com/opentracing/basictracer-go v1.1.0 // indirect | ||
github.com/opentracing/opentracing-go v1.2.0 // indirect | ||
github.com/pgavlin/fx v0.1.6 // indirect | ||
github.com/pgavlin/goldmark v1.1.33-0.20200616210433-b5eb04559386 // indirect | ||
github.com/pjbgf/sha1cd v0.3.0 // indirect | ||
github.com/pkg/errors v0.9.1 // indirect | ||
github.com/pkg/term v1.1.0 // indirect | ||
github.com/pmezard/go-difflib v1.0.0 // indirect | ||
github.com/pulumi/appdash v0.0.0-20231130102222-75f619a67231 // indirect | ||
github.com/pulumi/esc v0.6.2 // indirect | ||
github.com/pulumi/pulumi-terraform-bridge/x/muxer v0.0.8 // indirect | ||
github.com/pulumi/pulumi/pkg/v3 v3.118.0 // indirect | ||
github.com/rivo/uniseg v0.4.4 // indirect | ||
github.com/rogpeppe/go-internal v1.11.0 // indirect | ||
github.com/ryanuber/go-glob v1.0.0 // indirect | ||
github.com/sabhiram/go-gitignore v0.0.0-20210923224102-525f6e181f06 // indirect | ||
github.com/santhosh-tekuri/jsonschema/v5 v5.0.0 // indirect | ||
github.com/segmentio/asm v1.1.3 // indirect | ||
github.com/segmentio/encoding v0.3.5 // indirect | ||
github.com/sergi/go-diff v1.3.2-0.20230802210424-5b0b94c5c0d3 // indirect | ||
github.com/skeema/knownhosts v1.2.2 // indirect | ||
github.com/spf13/afero v1.9.5 // indirect | ||
github.com/spf13/cobra v1.8.0 // indirect | ||
github.com/spf13/pflag v1.0.5 // indirect | ||
github.com/texttheater/golang-levenshtein v1.0.1 // indirect | ||
github.com/tweekmonster/luser v0.0.0-20161003172636-3fa38070dbd7 // indirect | ||
github.com/uber/jaeger-client-go v2.30.0+incompatible // indirect | ||
github.com/uber/jaeger-lib v2.4.1+incompatible // indirect | ||
github.com/ulikunitz/xz v0.5.10 // indirect | ||
github.com/vmihailenco/msgpack/v5 v5.4.1 // indirect | ||
github.com/vmihailenco/tagparser/v2 v2.0.0 // indirect | ||
github.com/xanzy/ssh-agent v0.3.3 // indirect | ||
github.com/zclconf/go-cty v1.14.4 // indirect | ||
github.com/zclconf/go-cty-yaml v1.0.3 // indirect | ||
go.opencensus.io v0.24.0 // indirect | ||
go.opentelemetry.io/contrib/instrumentation/github.com/aws/aws-sdk-go-v2/otelaws v0.46.1 // indirect | ||
go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.49.0 // indirect | ||
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.49.0 // indirect | ||
go.opentelemetry.io/otel v1.24.0 // indirect | ||
go.opentelemetry.io/otel/metric v1.24.0 // indirect | ||
go.opentelemetry.io/otel/trace v1.24.0 // indirect | ||
go.uber.org/atomic v1.9.0 // indirect | ||
golang.org/x/crypto v0.23.0 // indirect | ||
golang.org/x/exp v0.0.0-20231110203233-9a3e6036ecaa // indirect | ||
golang.org/x/mod v0.15.0 // indirect | ||
golang.org/x/net v0.25.0 // indirect | ||
golang.org/x/oauth2 v0.18.0 // indirect | ||
golang.org/x/sync v0.6.0 // indirect | ||
golang.org/x/sys v0.20.0 // indirect | ||
golang.org/x/term v0.20.0 // indirect | ||
golang.org/x/text v0.15.0 // indirect | ||
golang.org/x/time v0.5.0 // indirect | ||
golang.org/x/tools v0.17.0 // indirect | ||
google.golang.org/api v0.169.0 // indirect | ||
google.golang.org/appengine v1.6.8 // indirect | ||
google.golang.org/genproto v0.0.0-20240311173647-c811ad7063a7 // indirect | ||
google.golang.org/genproto/googleapis/api v0.0.0-20240311173647-c811ad7063a7 // indirect | ||
google.golang.org/genproto/googleapis/rpc v0.0.0-20240311173647-c811ad7063a7 // indirect | ||
google.golang.org/protobuf v1.34.0 // indirect | ||
gopkg.in/warnings.v0 v0.1.2 // indirect | ||
gopkg.in/yaml.v3 v3.0.1 // indirect | ||
gotest.tools/v3 v3.5.1 // indirect | ||
lukechampine.com/frand v1.4.2 // indirect | ||
mvdan.cc/gofumpt v0.5.0 // indirect | ||
) |
Oops, something went wrong.