cloudquery / cq-provider-aws

CloudQuery Provider for AWS
https://cloudquery.io
Mozilla Public License 2.0
29 stars 40 forks source link

failed to generate cq_id for aws_iam_virtual_mfa_devices, pk field missing enable_date #704

Closed yevgenypats closed 2 years ago

yevgenypats commented 2 years ago

Describe the bug

seeing the following error:

Resource: iam.virtual_mfa_devices Type: UNKNOWN Severity: Error
        Summary: default column "cq_id" resolver execution: failed to generate cq_id for aws_iam_virtual_mfa_devices, pk field missing enable_date
        Resource ID: arn:aws:iam::61571xxxxx:mfa/BobsMFADevice
        Detail: [Repeated:2]

Expected Behavior

Not seeing the error

Steps to Reproduce

Currently this is reproduced by fetching our aws cq-provider-aws account

Possible Solution

No response

Provider and CloudQuery version

v0.22.2 and v0.10.16

Additional Context

No response

roneli commented 2 years ago

Fixed in https://github.com/cloudquery/cq-provider-aws/pull/692

roneli commented 2 years ago

Seems like an SDK issue that error type is UNKNOWN @disq

disq commented 2 years ago

or old cq-core, before diag.PANIC? @roneli