mirror of
https://github.com/opentofu/opentofu.git
synced 2024-12-28 01:41:48 -06:00
52a1b22f7a
This is a refactored version of the `remote` backend that was initially added to Terraform v0.11.8 which should now be compatible with v0.12.0.
30 lines
523 B
Go
30 lines
523 B
Go
package terraform
|
|
|
|
import (
|
|
"testing"
|
|
|
|
"github.com/hashicorp/terraform/providers"
|
|
|
|
backendInit "github.com/hashicorp/terraform/backend/init"
|
|
)
|
|
|
|
var testAccProviders map[string]*Provider
|
|
var testAccProvider *Provider
|
|
|
|
func init() {
|
|
// Initialize the backends
|
|
backendInit.Init(nil)
|
|
|
|
testAccProvider = NewProvider()
|
|
testAccProviders = map[string]*Provider{
|
|
"terraform": testAccProvider,
|
|
}
|
|
}
|
|
|
|
func TestProvider_impl(t *testing.T) {
|
|
var _ providers.Interface = NewProvider()
|
|
}
|
|
|
|
func testAccPreCheck(t *testing.T) {
|
|
}
|