cloudquery / cloudquery

The open source high performance ELT framework powered by Apache Arrow
https://cloudquery.io
Mozilla Public License 2.0
5.88k stars 514 forks source link

Unexpected errors when running policies #772

Closed shimonp21 closed 2 years ago

shimonp21 commented 2 years ago

Describe the Bug

User experienced errors when running policies. image

The errors were fixed when by adding super weird blocks to config.hcl:

policy "aws" {
  source = "aws"
}

policy "gcp" {
  source = "gcp"
}

It may be related to https://github.com/cloudquery/cloudquery/issues/771. Also, I really think the option of embedding policies in config.hcl is not good - it doesn't follow the "single-source-of-truth" paradigm. i.e. I believe policies should always be separate from cloudquery's config.

CloudQuery Version

cloudquery version 0.23.2

bbernays commented 2 years ago

@shimonp21 Can we close this issue?

shimonp21 commented 2 years ago

It's a duplicate of https://github.com/cloudquery/cq-provider-sdk/issues/312.