cq-source-yc

command module
v1.4.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 6, 2025 License: Apache-2.0 Imports: 4 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

Yandex Cloud Source Plugin

The Yandex Cloud Source Plugin extracts information from Yandex Cloud API

Previous version is available here


Configuration

Example configuration:

kind: source
spec:
  name: "yc"
  registry: github
  path: yandex-cloud/cq-source-yc
  version: "v1.0.0"
  destinations: ["postgresql"]
  tables: 
    ["*"]
  spec:
    organization_ids: # sync these organizations only
      - bpf...
    cloud_ids: # sync these clouds only
      - b1g... 
    folder_ids: # sync these folders only
      - b1g... 
---
kind: destination
spec:
  name: "postgresql"
  path: "cloudquery/postgresql"
  registry: "cloudquery"
  version: "v7.1.2"
  spec:
    connection_string: "${PG_CONNECTION_STRING}"

Authentication

Authentication is done via IAM tokens/keys.

You can set following environment variables:

  • YC_SERVICE_ACCOUNT_KEY – Service Account key (in json format)
  • YC_TOKEN – IAM or OAuth token

If none of the variables are set, plugin will try to use Compute Metadata API to get IAM token.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL