Skip to content

IgnoreConfig not working for ListConfig having a ParentHydrate #544

@karanpopat

Description

@karanpopat

To Reproduce:

In table aws_wellarchitected_workload_share remove lines 153-156

if strings.Contains(err.Error(), "ResourceNotFoundException") || strings.Contains(err.Error(), "ValidationException") {
		plugin.Logger(ctx).Debug("aws_wellarchitected_workload_share.listWellArchitectedWorkloadShares", "checked_error", err)
		return nil, nil
}

then query

> select * from aws_wellarchitected_workload_share where status = 'PENDINGX'

Having the ignore config defined as

IgnoreConfig: &plugin.IgnoreConfig{
		ShouldIgnoreErrorFunc: shouldIgnoreErrors([]string{"ValidationException", "ResourceNotFoundException"}),
},

it should not be giving a ValidationException

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions