Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SQLite cloudquery plugin does not work #3

Open
moadibfr opened this issue Oct 9, 2023 · 4 comments
Open

SQLite cloudquery plugin does not work #3

moadibfr opened this issue Oct 9, 2023 · 4 comments
Labels
area/plugin Plugin-related issue or feature request bug Something isn't working good first issue Great issue for new contributors

Comments

@moadibfr
Copy link
Contributor

moadibfr commented Oct 9, 2023

Expected Behavior

The plugin will fail with an error saying the sqlite plugin is not found.

Actual Behaviour

No response

Steps To Reproduce

No response

Environment Information

  • Plugin version: 0.13.0

Example flow

❯ cat aws.yml
spec:
path: cloudquery/aws
tables:

  • aws_cloudtrail_events
    destinations:
  • sqlite
    name: aws
    version: v22.13.2
    spec:
    custom_endpoint_url: http://127.0.0.1:32835
    custom_endpoint_hostname_immutable: "true"
    max_retries: 0
    custom_endpoint_partition_id: aws
    custom_endpoint_signing_region: us-east-1
    kind: source
    ❯ cat sqlite.yml
    spec:
    version: v2.3.0
    name: sqlite
    spec:
    connection_string: ./db.sqlite
    path: cloudquery/sqlite
    kind: destination
@moadibfr
Copy link
Contributor Author

moadibfr commented Oct 9, 2023

cloudquery bug report submitted here: cloudquery/cloudquery#14465

@moadibfr moadibfr self-assigned this Oct 9, 2023
@anna-geller anna-geller added this to the v0.17.0 milestone Dec 5, 2023
@aitoehigie
Copy link

Is this issue related to this error while trying to use sqlite destination plugin?
Binary was compiled with 'CGO_ENABLED=0', go-sqlite3 requires cgo to work. This is a stub

@anna-geller anna-geller modified the milestones: v0.17.0, v0.20.0 Apr 22, 2024
@github-project-automation github-project-automation bot moved this to Backlog in Issues Jun 10, 2024
@Ben8t
Copy link
Member

Ben8t commented Oct 2, 2024

cloudquery/cloudquery#14465 is fixed

@moadibfr are you still facing the issue ?

@Ben8t Ben8t added the area/plugin Plugin-related issue or feature request label Oct 2, 2024
@anna-geller anna-geller added the good first issue Great issue for new contributors label Oct 10, 2024
@anna-geller anna-geller removed this from the v0.20.0 milestone Oct 10, 2024
@the-raja
Copy link

the-raja commented Oct 20, 2024

Here is the possible solution that might work.

  1. Ensure the Plugins are Installed Correctly
    cloudquery plugins list

  2. If the sqlite plugin isn’t listed, install it
    cloudquery plugins install cloudquery/sqlite

  3. Check if the aws plugin is installed
    cloudquery plugins install cloudquery/aws

  4. Verify YAML Configuration

  5. aws.yml

spec:
  path: cloudquery/aws

  tables:

    - aws_cloudtrail_events
    - 
  destinations:

    - sqlite
  name: aws

  version: v22.13.2

  spec:

    custom_endpoint_url: http://127.0.0.1:32835

    custom_endpoint_hostname_immutable: "true"

    max_retries: 0

    custom_endpoint_partition_id: aws

    custom_endpoint_signing_region: us-east-1

  kind: source

  1. sqlite.yml
spec:

  version: v2.3.0

  name: sqlite

  spec:

  connection_string: ./db.sqlite

  path: cloudquery/sqlite

  kind: destination


Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/plugin Plugin-related issue or feature request bug Something isn't working good first issue Great issue for new contributors
Projects
Status: Backlog
Development

No branches or pull requests

5 participants