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 {
|
||||
ProviderNameValue string
|
||||
}
|
||||
|
|
|
@ -217,6 +217,8 @@ provider.foo
|
|||
|
||||
const testTransformDisableProviderBasicStr = `
|
||||
module.child
|
||||
provider.aws (disabled)
|
||||
provider.aws (disabled)
|
||||
`
|
||||
|
||||
const testTransformDisableProviderKeepStr = `
|
||||
|
|
Loading…
Reference in New Issue