Skip to content
Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

setup-cloudquery

A GitHub action to download the CloudQuery CLI so it can be used in other steps.

Prerequisites

  • We only support Linux or MacOS runners. Contributions welcomed to add Windows support 🪟
  • CloudQuery source and destination configuration files. See CloudQuery docs for more information.

Setup

Example usage:

Create a .github/workflows/cloudquery.yml file with the content of:

name: CloudQueryon:
schedule:
# Run daily at 03:00 (3am)
- cron: '0 3 * * *'jobs:
cloudquery:
runs-on: ubuntu-lateststeps:
# Checkout a git repository with a pre-existing CloudQuery configuration files
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7# Setup AWS credentials (example)
- name: Configure AWS credentialsuses: aws-actions/configure-aws-credentials@e6de054238d6b7531b4efff3b6587d9aade6a06c # v6with:
role-to-assume: <role-arn>aws-region: <region>
- uses: cloudquery/setup-cloudquery@757b19eb8496cf9e89a78de54f2c677253f54f6b # v5.0.3 # x-release-please-versionname: Setup CloudQuerywith:
# Required. Must be a valid SemVer versionversion: 'v6.41.1'
- name: Sync with CloudQueryrun: cloudquery sync [file or directories...] --log-console

About

Setup CloudQuery CLI in GitHub Actions workflows

Resources

Code of conduct

Contributing

Security policy

Stars

7 stars

Watchers

6 watching

Forks

Releases

Packages

Used by

Contributors

Languages