Skip to content

Transformations

Phillip Wong edited this page Nov 30, 2017 · 3 revisions

Transformations

keboola_transformation_bucket

A transformation bucket is an organisational grouping of transformations that are related.


resource "keboola_transformation_bucket" "example_transforms" {
  name              = "Example Transformations"
  description       = "This is a bucket of example transformations."
}

Argument Reference

  • name - (Required) The name for this transformation bucket.
  • description - (Optional) A description for this tranformation bucket. May contain markdown.

Attributes Reference

  • id - The numerical ID for this transformation bucket.

keboola_transformation


resource "keboola_transformation" "example_transformation" {
  bucket_id         = "1"
  name              = "Example Transform"
  description       = "This is an example transform"
  backend           = "snowflake"
  type              = "simple"

  queries           = [ "CREATE TABLE \"titles\" AS SELECT e.\"EMPLOYEE_ID\", e.\"TITLE\" FROM \"employees\" e;" ]

  input {
    source      = "in.c-northwind.employees"
    destination = "employees"
  }

  output {
    source          = "titles"
    destination     = "out.c-transformed.employee_titles"
    incremental     = true
  }
}

Argument Reference

Attributes Reference