mirror of
https://github.com/opentffoundation/opentf.git
synced 2025-12-19 17:59:05 -05:00
Dio's comments
Signed-off-by: Ilia Gogotchuri <ilia.gogotchuri0@gmail.com>
This commit is contained in:
@@ -266,7 +266,7 @@ func (r *Resource) merge(or *Resource, rps map[string]*RequiredProvider) hcl.Dia
|
||||
r.Managed.PreventDestroy = or.Managed.PreventDestroy
|
||||
}
|
||||
|
||||
if r.Managed.Destroy != nil {
|
||||
if or.Managed.Destroy != nil {
|
||||
r.Managed.Destroy = or.Managed.Destroy
|
||||
}
|
||||
|
||||
|
||||
@@ -625,7 +625,7 @@ func TestSkipDestroy_Deposed(t *testing.T) {
|
||||
},
|
||||
{
|
||||
// Orphaned deposed instance (no config) with SkipDestroy=false should be deleted.
|
||||
name: "Orphaned_Forget",
|
||||
name: "Orphaned_Delete",
|
||||
config: `
|
||||
# Empty, use this for any test that requires a module but no config.
|
||||
`,
|
||||
|
||||
Reference in New Issue
Block a user