Skip to content

Commit

Permalink
Updated the resource not found error code in ignore config as per the…
Browse files Browse the repository at this point in the history
… API documentation
  • Loading branch information
ParthaI committed Jan 16, 2024
1 parent 94fd2e2 commit ccb064b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion aws/table_aws_ssmincidents_response_plan.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ func tableAwsSSMIncidentsResponseaPlan(_ context.Context) *plugin.Table {
// Therefore, omitting the 'region' column as a requirement leads to a 'Key column is not globally unique' error, despite the Get config functioning correctly.
KeyColumns: plugin.AllColumns([]string{"arn", "region"}),
IgnoreConfig: &plugin.IgnoreConfig{
ShouldIgnoreErrorFunc: shouldIgnoreErrors([]string{"NotFound"}),
ShouldIgnoreErrorFunc: shouldIgnoreErrors([]string{"ResourceNotFoundException"}),
},
Hydrate: getSSMIncidentsResponsePlan,
Tags: map[string]string{"service": "ssm-incidents", "action": "GetResponsePlan"},
Expand Down

0 comments on commit ccb064b

Please sign in to comment.