Skip to content

Commit

Permalink
fix destination definition
Browse files Browse the repository at this point in the history
  • Loading branch information
aballiet committed Feb 29, 2024
1 parent 0ab71b1 commit 635efaa
Show file tree
Hide file tree
Showing 9 changed files with 248 additions and 246 deletions.
2 changes: 1 addition & 1 deletion .speakeasy/gen.lock
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
lockVersion: 2.0.0
id: a592d325-751d-447c-af2a-581b9e706313
management:
docChecksum: 7c83c37d0d3c4bd49001fc001a8219c3
docChecksum: f9a1075ba371591c3887ffe1e9319c03
docVersion: 1.0.0
speakeasyVersion: internal
generationVersion: 2.272.7
Expand Down
2 changes: 1 addition & 1 deletion docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ terraform {
required_providers {
airbyte = {
source = "aballiet/airbyte-oss"
version = "1.2.1"
version = "1.2.2"
}
}
}
Expand Down
54 changes: 23 additions & 31 deletions docs/resources/airbyte_destination_definition.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,19 +14,14 @@ DestinationDefinition Resource

```terraform
resource "airbyte_destination_definition" "my_destinationdefinition" {
cpu_limit = "...my_cpu_limit..."
cpu_request = "...my_cpu_request..."
docker_image_tag = "...my_docker_image_tag..."
docker_repository = "...my_docker_repository..."
documentation_url = "https://healthy-bandolier.com"
icon = "...my_icon..."
job_type = "get_spec"
memory_limit = "...my_memory_limit..."
memory_request = "...my_memory_request..."
name = "Thelma Dooley"
scope_id = "7515722b-625e-4fa1-bbfa-8d645f719d13"
name = "Julie Frami"
scope_id = "87515722-b625-4efa-9bbf-a8d645f719d1"
scope_type = "workspace"
workspace_id = "279f15ad-8bb3-4fe3-bfac-9256cf878498"
workspace_id = "3279f15a-d8bb-43fe-b3fa-c9256cf87849"
}
```

Expand All @@ -38,16 +33,12 @@ resource "airbyte_destination_definition" "my_destinationdefinition" {
- `docker_image_tag` (String)
- `docker_repository` (String) Requires replacement if changed.
- `documentation_url` (String) Requires replacement if changed.
- `job_type` (String) enum that describes the different types of jobs that the platform runs. must be one of ["get_spec", "check_connection", "discover_schema", "sync", "reset_connection", "connection_updater", "replicate"]
- `name` (String) Requires replacement if changed.

### Optional

- `cpu_limit` (String)
- `cpu_request` (String)
- `icon` (String) Requires replacement if changed.
- `memory_limit` (String)
- `memory_request` (String)
- `resource_requirements` (Attributes) actor definition specific resource requirements. if default is set, these are the requirements that should be set for ALL jobs run for this actor definition. it is overriden by the job type specific configurations. if not set, the platform will use defaults. these values will be overriden by configuration at the connection level. (see [below for nested schema](#nestedatt--resource_requirements))
- `scope_id` (String) Requires replacement if changed.
- `scope_type` (String) Requires replacement if changed. ; must be one of ["workspace", "organization"]
- `workspace_id` (String) Requires replacement if changed.
Expand All @@ -60,33 +51,21 @@ resource "airbyte_destination_definition" "my_destinationdefinition" {
- `protocol_version` (String) The Airbyte Protocol version supported by the connector
- `release_date` (String) The date when this connector was first released, in yyyy-mm-dd format.
- `release_stage` (String) must be one of ["alpha", "beta", "generally_available", "custom"]
- `resource_requirements` (Attributes) actor definition specific resource requirements. if default is set, these are the requirements that should be set for ALL jobs run for this actor definition. it is overriden by the job type specific configurations. if not set, the platform will use defaults. these values will be overriden by configuration at the connection level. (see [below for nested schema](#nestedatt--resource_requirements))
- `support_level` (String) must be one of ["community", "certified", "none"]
- `supports_dbt` (Boolean) an optional flag indicating whether DBT is used in the normalization. If the flag value is NULL - DBT is not used.

<a id="nestedatt--normalization_config"></a>
### Nested Schema for `normalization_config`

Read-Only:

- `normalization_integration_type` (String) a field indicating the type of integration dialect to use for normalization.
- `normalization_repository` (String) a field indicating the name of the repository to be used for normalization. If the value of the flag is NULL - normalization is not used.
- `normalization_tag` (String) a field indicating the tag of the docker repository to be used for normalization.
- `supported` (Boolean) whether the destination definition supports normalization.


<a id="nestedatt--resource_requirements"></a>
### Nested Schema for `resource_requirements`

Read-Only:
Optional:

- `default` (Attributes) optional resource requirements to run workers (blank for unbounded allocations) (see [below for nested schema](#nestedatt--resource_requirements--default))
- `job_specific` (Attributes List) (see [below for nested schema](#nestedatt--resource_requirements--job_specific))

<a id="nestedatt--resource_requirements--default"></a>
### Nested Schema for `resource_requirements.default`

Read-Only:
Optional:

- `cpu_limit` (String)
- `cpu_request` (String)
Expand All @@ -97,19 +76,32 @@ Read-Only:
<a id="nestedatt--resource_requirements--job_specific"></a>
### Nested Schema for `resource_requirements.job_specific`

Read-Only:
Optional:

- `job_type` (String) enum that describes the different types of jobs that the platform runs. must be one of ["get_spec", "check_connection", "discover_schema", "sync", "reset_connection", "connection_updater", "replicate"]
- `resource_requirements` (Attributes) optional resource requirements to run workers (blank for unbounded allocations) (see [below for nested schema](#nestedatt--resource_requirements--job_specific--resource_requirements))
- `job_type` (String) enum that describes the different types of jobs that the platform runs. Not Null; must be one of ["get_spec", "check_connection", "discover_schema", "sync", "reset_connection", "connection_updater", "replicate"]
- `resource_requirements` (Attributes) optional resource requirements to run workers (blank for unbounded allocations). Not Null (see [below for nested schema](#nestedatt--resource_requirements--job_specific--resource_requirements))

<a id="nestedatt--resource_requirements--job_specific--resource_requirements"></a>
### Nested Schema for `resource_requirements.job_specific.resource_requirements`

Read-Only:
Optional:

- `cpu_limit` (String)
- `cpu_request` (String)
- `memory_limit` (String)
- `memory_request` (String)




<a id="nestedatt--normalization_config"></a>
### Nested Schema for `normalization_config`

Read-Only:

- `normalization_integration_type` (String) a field indicating the type of integration dialect to use for normalization.
- `normalization_repository` (String) a field indicating the name of the repository to be used for normalization. If the value of the flag is NULL - normalization is not used.
- `normalization_tag` (String) a field indicating the tag of the docker repository to be used for normalization.
- `supported` (Boolean) whether the destination definition supports normalization.


2 changes: 1 addition & 1 deletion docs/resources/airbyte_operation.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Operation Resource

```terraform
resource "airbyte_operation" "my_operation" {
name = "Jeff Barton"
name = "Dr. Arturo Fisher"
operator_configuration = {
dbt = {
dbt_arguments = "...my_dbt_arguments..."
Expand Down
2 changes: 1 addition & 1 deletion examples/provider/provider.tf
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ terraform {
required_providers {
airbyte = {
source = "aballiet/airbyte-oss"
version = "1.2.1"
version = "1.2.2"
}
}
}
Expand Down
11 changes: 3 additions & 8 deletions examples/resources/airbyte_destination_definition/resource.tf
Original file line number Diff line number Diff line change
@@ -1,15 +1,10 @@
resource "airbyte_destination_definition" "my_destinationdefinition" {
cpu_limit = "...my_cpu_limit..."
cpu_request = "...my_cpu_request..."
docker_image_tag = "...my_docker_image_tag..."
docker_repository = "...my_docker_repository..."
documentation_url = "https://healthy-bandolier.com"
icon = "...my_icon..."
job_type = "get_spec"
memory_limit = "...my_memory_limit..."
memory_request = "...my_memory_request..."
name = "Thelma Dooley"
scope_id = "7515722b-625e-4fa1-bbfa-8d645f719d13"
name = "Julie Frami"
scope_id = "87515722-b625-4efa-9bbf-a8d645f719d1"
scope_type = "workspace"
workspace_id = "279f15ad-8bb3-4fe3-bfac-9256cf878498"
workspace_id = "3279f15a-d8bb-43fe-b3fa-c9256cf87849"
}
2 changes: 1 addition & 1 deletion examples/resources/airbyte_operation/resource.tf
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
resource "airbyte_operation" "my_operation" {
name = "Jeff Barton"
name = "Dr. Arturo Fisher"
operator_configuration = {
dbt = {
dbt_arguments = "...my_dbt_arguments..."
Expand Down
Loading

0 comments on commit 635efaa

Please sign in to comment.