GithubHelp home page GithubHelp logo

wtran-pbp / terraform-provider-keboola Goto Github PK

View Code? Open in Web Editor NEW

This project forked from paybyphone/terraform-provider-keboola

0.0 0.0 0.0 255 KB

Terraform Custom Provider for Keboola Connection (KBC)

License: Other

Makefile 0.68% Go 99.32%

terraform-provider-keboola's Introduction

terraform-provider-keboola

A Terraform Custom Provider for Keboola Connection (KBC).

Build Status

Description

This is a custom terraform provider for managing common resources within the Keboola Connection (KBC) platform, such as Transformations, Orchestrations, Writers etc.

Supported Resources

Currently, the following KBC resources are supported (or partially supported) for configuration via terraform:

  • keboola_access_token
  • keboola_csvimport_extractor
  • keboola_ftp_extractor
  • keboola_ftp_extractor_file
  • keboola_gooddata_user_management
  • keboola_gooddata_user_management_v2
  • keboola_gooddata_writer
  • keboola_gooddata_writer_v3
  • keboola_orchestration
  • keboola_orchestration_tasks
  • keboola_postgresql_writer
  • keboola_postgresql_writer_tables
  • keboola_snowflake_extractor
  • keboola_snowflake_extractor_tables
  • keboola_snowflake_writer
  • keboola_snowflake_writer_tables
  • keboola_storage_bucket
  • keboola_storage_table
  • keboola_transformation_bucket
  • keboola_transformation

Requirements

Singular vs. Plural

Some resources (e.g. keboola_gooddata_writer_table, keboola_storage_bucket) are configured as singular resources, while others (e.g. keboola_snowflake_writer_tables, keboola_orchestration_tasks) are plural. This is a design decision in order for the terraform resources to closely match how they are managed through the Keboola API(s).

Resources that are plural are managed through the API in a single call that will create/update/delete all of them at once. Resources that are singular can be created/updated/deleted independently of one another in separate API calls, and so are modelled as such.

Usage

Provider Configuration

The provider only requires a single configuration setting api_key. Make sure that the access token you use has the required permissions for the resources that you wish to manage.

keboola

provider "keboola" {
  api_key     =   "${var.storage_api_key}"
}

Resource Configuration

For documentation on each supported resource, refer to the wiki.

Contributing

Bug reports, suggestions, code additions/changes etc. are very welcome! When making code changes, please branch off of master and then raise a pull request so it can be reviewed and merged.

Running Acceptance Tests

The terraform-provider-keboola resources will have Terraform acceptance tests, which are run against a real Keboola project to test resource creation, update and deletion. At a minimum, all of these tests must pass on the master branch for any release candidate.

To run the Acceptance tests locally, you will need to have access to your own (preferably empty) Keboola project, and also have created an access token for accessing that project. This token should be for a user who has full access to create/update/delete anything on the project.

To enable acceptance tests, set the TF_ACC environment variable to 1, and set the STORAGE_API_KEY environment variable to the access token for the project.

Then run the tests by running make test.

License

terraform-provider-keboola is provided "as-is" under the Apache 2.0 License.

terraform-provider-keboola's People

Contributors

plmwong avatar wtran-pbp avatar mavdyushkin avatar jestey-pbp avatar halama avatar nyazdanfar-pbp avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.