Skip to content

cloudquery/setup-cloudquery

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: CloudQuery
on:
  schedule:
    # Run daily at 03:00 (3am)
    - cron: '0 3 * * *'

jobs:
  cloudquery:
    runs-on: ubuntu-latest
    steps:
      # Checkout a git repository with a pre-existing CloudQuery configuration files
      - uses: actions/checkout@v4

      # Setup AWS credentials (example)
      - name: Configure AWS credentials
        uses: aws-actions/configure-aws-credentials@v4
        with:
          role-to-assume: <role-arn>
          aws-region: <region>

      - uses: cloudquery/setup-cloudquery@v3
        name: Setup CloudQuery
        with:
          # Required. Must be a valid SemVer version
          version: 'v5.12.1'

      - name: Sync with CloudQuery
        run: cloudquery sync [file or directories...] --log-console

About

Setup CloudQuery CLI in GitHub Actions workflows

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •