updated generate output
This commit is contained in:
parent
a8f64cbcee
commit
83cc54bfbe
|
@ -65,13 +65,15 @@ import (
|
||||||
vaultprovider "github.com/hashicorp/terraform/builtin/providers/vault"
|
vaultprovider "github.com/hashicorp/terraform/builtin/providers/vault"
|
||||||
vcdprovider "github.com/hashicorp/terraform/builtin/providers/vcd"
|
vcdprovider "github.com/hashicorp/terraform/builtin/providers/vcd"
|
||||||
vsphereprovider "github.com/hashicorp/terraform/builtin/providers/vsphere"
|
vsphereprovider "github.com/hashicorp/terraform/builtin/providers/vsphere"
|
||||||
chefresourceprovisioner "github.com/hashicorp/terraform/builtin/provisioners/chef"
|
fileprovisioner "github.com/hashicorp/terraform/builtin/provisioners/file"
|
||||||
fileresourceprovisioner "github.com/hashicorp/terraform/builtin/provisioners/file"
|
localexecprovisioner "github.com/hashicorp/terraform/builtin/provisioners/local-exec"
|
||||||
localexecresourceprovisioner "github.com/hashicorp/terraform/builtin/provisioners/local-exec"
|
remoteexecprovisioner "github.com/hashicorp/terraform/builtin/provisioners/remote-exec"
|
||||||
remoteexecresourceprovisioner "github.com/hashicorp/terraform/builtin/provisioners/remote-exec"
|
|
||||||
|
|
||||||
"github.com/hashicorp/terraform/plugin"
|
"github.com/hashicorp/terraform/plugin"
|
||||||
"github.com/hashicorp/terraform/terraform"
|
"github.com/hashicorp/terraform/terraform"
|
||||||
|
|
||||||
|
// Legacy, will remove once it conforms with new structure
|
||||||
|
chefprovisioner "github.com/hashicorp/terraform/builtin/provisioners/chef"
|
||||||
)
|
)
|
||||||
|
|
||||||
var InternalProviders = map[string]plugin.ProviderFunc{
|
var InternalProviders = map[string]plugin.ProviderFunc{
|
||||||
|
@ -137,8 +139,13 @@ var InternalProviders = map[string]plugin.ProviderFunc{
|
||||||
}
|
}
|
||||||
|
|
||||||
var InternalProvisioners = map[string]plugin.ProvisionerFunc{
|
var InternalProvisioners = map[string]plugin.ProvisionerFunc{
|
||||||
"chef": func() terraform.ResourceProvisioner { return new(chefresourceprovisioner.ResourceProvisioner) },
|
"file": fileprovisioner.Provisioner,
|
||||||
"file": func() terraform.ResourceProvisioner { return new(fileresourceprovisioner.ResourceProvisioner) },
|
"local-exec": localexecprovisioner.Provisioner,
|
||||||
"local-exec": func() terraform.ResourceProvisioner { return new(localexecresourceprovisioner.ResourceProvisioner) },
|
"remote-exec": remoteexecprovisioner.Provisioner,
|
||||||
"remote-exec": func() terraform.ResourceProvisioner { return new(remoteexecresourceprovisioner.ResourceProvisioner) },
|
}
|
||||||
|
|
||||||
|
func init() {
|
||||||
|
// Legacy provisioners that don't match our heuristics for auto-finding
|
||||||
|
// built-in provisioners.
|
||||||
|
InternalProvisioners["chef"] = func() terraform.ResourceProvisioner { return new(chefprovisioner.ResourceProvisioner) }
|
||||||
}
|
}
|
||||||
|
|
|
@ -4,9 +4,9 @@ package terraform
|
||||||
|
|
||||||
import "fmt"
|
import "fmt"
|
||||||
|
|
||||||
const _GraphType_name = "GraphTypeInvalidGraphTypeLegacyGraphTypeRefreshGraphTypePlanGraphTypePlanDestroyGraphTypeApply"
|
const _GraphType_name = "GraphTypeInvalidGraphTypeLegacyGraphTypeRefreshGraphTypePlanGraphTypePlanDestroyGraphTypeApplyGraphTypeInputGraphTypeValidate"
|
||||||
|
|
||||||
var _GraphType_index = [...]uint8{0, 16, 31, 47, 60, 80, 94}
|
var _GraphType_index = [...]uint8{0, 16, 31, 47, 60, 80, 94, 108, 125}
|
||||||
|
|
||||||
func (i GraphType) String() string {
|
func (i GraphType) String() string {
|
||||||
if i >= GraphType(len(_GraphType_index)-1) {
|
if i >= GraphType(len(_GraphType_index)-1) {
|
||||||
|
|
Loading…
Reference in New Issue