terraform: register gob type that might be in config
This commit is contained in:
parent
1560d5ab98
commit
c493d60358
|
@ -1,6 +1,7 @@
|
||||||
resource "test_instance" "foo" {
|
resource "test_instance" "foo" {
|
||||||
ami = "bar"
|
ami = "bar"
|
||||||
|
|
||||||
|
# This is here because at some point it caused a test failure
|
||||||
network_interface {
|
network_interface {
|
||||||
device_index = 0
|
device_index = 0
|
||||||
description = "Main network interface"
|
description = "Main network interface"
|
||||||
|
|
|
@ -11,6 +11,10 @@ import (
|
||||||
"github.com/hashicorp/terraform/config"
|
"github.com/hashicorp/terraform/config"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
func init() {
|
||||||
|
gob.Register(make([]map[string]interface{}, 0))
|
||||||
|
}
|
||||||
|
|
||||||
// PlanOpts are the options used to generate an execution plan for
|
// PlanOpts are the options used to generate an execution plan for
|
||||||
// Terraform.
|
// Terraform.
|
||||||
type PlanOpts struct {
|
type PlanOpts struct {
|
||||||
|
|
Loading…
Reference in New Issue