mondoohq / cnquery

open source, cloud-native, graph-based asset inventory

Home Page:https://cnquery.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

AWS provider: Can't use dot-notation for `aws.s3.bucket.policy`

mm-weber opened this issue · comments

Describe the bug
The .dot-notation doesn't work for aws.s3.bucket.policy :
image

But aws.s3.bucket {policy} does work:
image

cnquery version

cnquery v10.8.2 (e9b2af3af, unknown)

  aws 10.3.6 with connectors: aws

this is an interesting one....it seems like when we access via aws.s3.bucket { policy { * }} everything is fine, but when we try to access via aws.s3.bucket.policy { * }, the bucket information is empty, so we can't fetch the policy. not sure why yet