terraform: disable shadowing destroy graph for now
It doesn't fully work so we want to wait until we think its ready before we start the shadowing.
This commit is contained in:
parent
480a414c40
commit
2d4f65cc94
|
@ -398,7 +398,7 @@ func (c *Context) Apply() (*State, error) {
|
|||
Module: c.module,
|
||||
Diff: c.diff,
|
||||
State: c.state,
|
||||
Providers: c.providersList(),
|
||||
Providers: c.components.ResourceProviders(),
|
||||
}).Build(RootModulePath)
|
||||
} else {
|
||||
newGraph, err = (&ApplyGraphBuilder{
|
||||
|
@ -438,6 +438,11 @@ func (c *Context) Apply() (*State, error) {
|
|||
log.Printf("[WARN] terraform: real graph is experiment, shadow is experiment")
|
||||
real = shadow
|
||||
} else {
|
||||
// TODO: remove before branch is done, we're just not ready for this yet
|
||||
if c.destroy {
|
||||
shadow = nil
|
||||
}
|
||||
|
||||
log.Printf("[WARN] terraform: real graph is original, shadow is experiment")
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue