terraform: fix disable provider tests
This commit is contained in:
parent
bcff7e070c
commit
eda2e0fdfc
|
@ -172,6 +172,10 @@ func (n *graphNodeDisabledProvider) EvalTree() EvalNode {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
func (n *graphNodeDisabledProvider) Name() string {
|
||||||
|
return fmt.Sprintf("%s (disabled)", dag.VertexName(n.GraphNodeProvider))
|
||||||
|
}
|
||||||
|
|
||||||
type graphNodeMissingProvider struct {
|
type graphNodeMissingProvider struct {
|
||||||
ProviderNameValue string
|
ProviderNameValue string
|
||||||
}
|
}
|
||||||
|
|
|
@ -217,6 +217,8 @@ provider.foo
|
||||||
|
|
||||||
const testTransformDisableProviderBasicStr = `
|
const testTransformDisableProviderBasicStr = `
|
||||||
module.child
|
module.child
|
||||||
|
provider.aws (disabled)
|
||||||
|
provider.aws (disabled)
|
||||||
`
|
`
|
||||||
|
|
||||||
const testTransformDisableProviderKeepStr = `
|
const testTransformDisableProviderKeepStr = `
|
||||||
|
|
Loading…
Reference in New Issue