I am trying to use a terraform destroy job but get ResourceNotFoundException. This is because the resources is already deleted in the previous job. Is there a way where terraform can ignore that the resource is deleted and destroy rest of infrastructure.
Example :- Dynamo table was deleted in the previous job and in the next job I want to delete the policy and role attached to it.
Error retrieving DynamoDB table: ResourceNotFoundException: Requested resource not found: Table