mirror of
https://github.com/opentffoundation/opentf.git
synced 2025-12-25 01:00:16 -05:00
Merge pull request #196 from opentffoundation/internal-builtin-providers-tf
Rename `internal/builtin/providers/terraform` and remove `provider-terraform`
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
// Copyright (c) HashiCorp, Inc.
|
||||
// SPDX-License-Identifier: MPL-2.0
|
||||
|
||||
package terraform
|
||||
package tf
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
@@ -1,7 +1,7 @@
|
||||
// Copyright (c) HashiCorp, Inc.
|
||||
// SPDX-License-Identifier: MPL-2.0
|
||||
|
||||
package terraform
|
||||
package tf
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
@@ -1,7 +1,7 @@
|
||||
// Copyright (c) HashiCorp, Inc.
|
||||
// SPDX-License-Identifier: MPL-2.0
|
||||
|
||||
package terraform
|
||||
package tf
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
@@ -1,7 +1,7 @@
|
||||
// Copyright (c) HashiCorp, Inc.
|
||||
// SPDX-License-Identifier: MPL-2.0
|
||||
|
||||
package terraform
|
||||
package tf
|
||||
|
||||
import (
|
||||
backendInit "github.com/placeholderplaceholderplaceholder/opentf/internal/backend/init"
|
||||
@@ -1,7 +1,7 @@
|
||||
// Copyright (c) HashiCorp, Inc.
|
||||
// SPDX-License-Identifier: MPL-2.0
|
||||
|
||||
package terraform
|
||||
package tf
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
@@ -1,7 +1,7 @@
|
||||
// Copyright (c) HashiCorp, Inc.
|
||||
// SPDX-License-Identifier: MPL-2.0
|
||||
|
||||
package terraform
|
||||
package tf
|
||||
|
||||
import (
|
||||
"strings"
|
||||
@@ -15,7 +15,7 @@ import (
|
||||
plugin "github.com/hashicorp/go-plugin"
|
||||
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/addrs"
|
||||
terraformProvider "github.com/placeholderplaceholderplaceholder/opentf/internal/builtin/providers/terraform"
|
||||
terraformProvider "github.com/placeholderplaceholderplaceholder/opentf/internal/builtin/providers/tf"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/getproviders"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/logging"
|
||||
tfplugin "github.com/placeholderplaceholderplaceholder/opentf/internal/plugin"
|
||||
|
||||
@@ -1,20 +0,0 @@
|
||||
// Copyright (c) HashiCorp, Inc.
|
||||
// SPDX-License-Identifier: MPL-2.0
|
||||
|
||||
package main
|
||||
|
||||
import (
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/builtin/providers/terraform"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/grpcwrap"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/plugin"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/tfplugin5"
|
||||
)
|
||||
|
||||
func main() {
|
||||
// Provide a binary version of the internal terraform provider for testing
|
||||
plugin.Serve(&plugin.ServeOpts{
|
||||
GRPCProviderFunc: func() tfplugin5.ProviderServer {
|
||||
return grpcwrap.Provider(terraform.NewProvider())
|
||||
},
|
||||
})
|
||||
}
|
||||
Reference in New Issue
Block a user