Dio's comments

Signed-off-by: Ilia Gogotchuri <ilia.gogotchuri0@gmail.com>
This commit is contained in:
Ilia Gogotchuri
2025-12-03 13:34:28 +04:00
parent 55a6b52fdf
commit 29df4ced9e
2 changed files with 2 additions and 2 deletions

View File

@@ -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
}

View File

@@ -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.
`,