-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #4 from aballiet/feat-add-operation-resource
Feat add operation resource
- Loading branch information
Showing
32 changed files
with
1,320 additions
and
73 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,82 @@ | ||
--- | ||
# generated by https://github.com/hashicorp/terraform-plugin-docs | ||
page_title: "airbyte_operation Data Source - aballiet-terraform-provider-airbyte-oss" | ||
subcategory: "" | ||
description: |- | ||
Operation DataSource | ||
--- | ||
|
||
# airbyte_operation (Data Source) | ||
|
||
Operation DataSource | ||
|
||
## Example Usage | ||
|
||
```terraform | ||
data "airbyte_operation" "my_operation" { | ||
operation_id = "cd96c08a-642e-4276-9d0a-b8d096c23af1" | ||
} | ||
``` | ||
|
||
<!-- schema generated by tfplugindocs --> | ||
## Schema | ||
|
||
### Required | ||
|
||
- `operation_id` (String) | ||
|
||
### Read-Only | ||
|
||
- `name` (String) | ||
- `operator_configuration` (Attributes) (see [below for nested schema](#nestedatt--operator_configuration)) | ||
- `workspace_id` (String) | ||
|
||
<a id="nestedatt--operator_configuration"></a> | ||
### Nested Schema for `operator_configuration` | ||
|
||
Read-Only: | ||
|
||
- `dbt` (Attributes) (see [below for nested schema](#nestedatt--operator_configuration--dbt)) | ||
- `normalization` (Attributes) (see [below for nested schema](#nestedatt--operator_configuration--normalization)) | ||
- `operator_type` (String) must be one of ["normalization", "dbt", "webhook"] | ||
- `webhook` (Attributes) (see [below for nested schema](#nestedatt--operator_configuration--webhook)) | ||
|
||
<a id="nestedatt--operator_configuration--dbt"></a> | ||
### Nested Schema for `operator_configuration.dbt` | ||
|
||
Read-Only: | ||
|
||
- `dbt_arguments` (String) | ||
- `docker_image` (String) | ||
- `git_repo_branch` (String) | ||
- `git_repo_url` (String) | ||
|
||
|
||
<a id="nestedatt--operator_configuration--normalization"></a> | ||
### Nested Schema for `operator_configuration.normalization` | ||
|
||
Read-Only: | ||
|
||
- `option` (String) must be one of ["basic"] | ||
|
||
|
||
<a id="nestedatt--operator_configuration--webhook"></a> | ||
### Nested Schema for `operator_configuration.webhook` | ||
|
||
Read-Only: | ||
|
||
- `dbt_cloud` (Attributes) (see [below for nested schema](#nestedatt--operator_configuration--webhook--dbt_cloud)) | ||
- `execution_body` (String) DEPRECATED. Populate dbtCloud instead. | ||
- `execution_url` (String) DEPRECATED. Populate dbtCloud instead. | ||
- `webhook_config_id` (String) The id of the webhook configs to use from the workspace. | ||
- `webhook_type` (String) must be one of ["dbtCloud"] | ||
|
||
<a id="nestedatt--operator_configuration--webhook--dbt_cloud"></a> | ||
### Nested Schema for `operator_configuration.webhook.dbt_cloud` | ||
|
||
Read-Only: | ||
|
||
- `account_id` (Number) The account id associated with the job | ||
- `job_id` (Number) The job id associated with the job | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,111 @@ | ||
--- | ||
# generated by https://github.com/hashicorp/terraform-plugin-docs | ||
page_title: "airbyte_operation Resource - aballiet-terraform-provider-airbyte-oss" | ||
subcategory: "" | ||
description: |- | ||
Operation Resource | ||
--- | ||
|
||
# airbyte_operation (Resource) | ||
|
||
Operation Resource | ||
|
||
## Example Usage | ||
|
||
```terraform | ||
resource "airbyte_operation" "my_operation" { | ||
name = "Ervin Renner DVM" | ||
operator_configuration = { | ||
dbt = { | ||
dbt_arguments = "...my_dbt_arguments..." | ||
docker_image = "...my_docker_image..." | ||
git_repo_branch = "...my_git_repo_branch..." | ||
git_repo_url = "...my_git_repo_url..." | ||
} | ||
normalization = { | ||
option = "basic" | ||
} | ||
operator_type = "dbt" | ||
webhook = { | ||
dbt_cloud = { | ||
account_id = 3 | ||
job_id = 3 | ||
} | ||
execution_body = "...my_execution_body..." | ||
execution_url = "...my_execution_url..." | ||
webhook_config_id = "25dbfb01-6861-4001-b358-7515722b625e" | ||
webhook_type = "dbtCloud" | ||
} | ||
} | ||
workspace_id = "fa1bbfa8-d645-4f71-9d13-3279f15ad8bb" | ||
} | ||
``` | ||
|
||
<!-- schema generated by tfplugindocs --> | ||
## Schema | ||
|
||
### Required | ||
|
||
- `name` (String) | ||
- `operator_configuration` (Attributes) (see [below for nested schema](#nestedatt--operator_configuration)) | ||
- `workspace_id` (String) | ||
|
||
### Read-Only | ||
|
||
- `operation_id` (String) | ||
|
||
<a id="nestedatt--operator_configuration"></a> | ||
### Nested Schema for `operator_configuration` | ||
|
||
Required: | ||
|
||
- `operator_type` (String) must be one of ["normalization", "dbt", "webhook"] | ||
|
||
Optional: | ||
|
||
- `dbt` (Attributes) (see [below for nested schema](#nestedatt--operator_configuration--dbt)) | ||
- `normalization` (Attributes) (see [below for nested schema](#nestedatt--operator_configuration--normalization)) | ||
- `webhook` (Attributes) (see [below for nested schema](#nestedatt--operator_configuration--webhook)) | ||
|
||
<a id="nestedatt--operator_configuration--dbt"></a> | ||
### Nested Schema for `operator_configuration.dbt` | ||
|
||
Required: | ||
|
||
- `git_repo_url` (String) | ||
|
||
Optional: | ||
|
||
- `dbt_arguments` (String) | ||
- `docker_image` (String) | ||
- `git_repo_branch` (String) | ||
|
||
|
||
<a id="nestedatt--operator_configuration--normalization"></a> | ||
### Nested Schema for `operator_configuration.normalization` | ||
|
||
Optional: | ||
|
||
- `option` (String) must be one of ["basic"] | ||
|
||
|
||
<a id="nestedatt--operator_configuration--webhook"></a> | ||
### Nested Schema for `operator_configuration.webhook` | ||
|
||
Optional: | ||
|
||
- `dbt_cloud` (Attributes) (see [below for nested schema](#nestedatt--operator_configuration--webhook--dbt_cloud)) | ||
- `execution_body` (String) DEPRECATED. Populate dbtCloud instead. | ||
- `execution_url` (String) DEPRECATED. Populate dbtCloud instead. | ||
- `webhook_config_id` (String) The id of the webhook configs to use from the workspace. | ||
- `webhook_type` (String) must be one of ["dbtCloud"] | ||
|
||
<a id="nestedatt--operator_configuration--webhook--dbt_cloud"></a> | ||
### Nested Schema for `operator_configuration.webhook.dbt_cloud` | ||
|
||
Required: | ||
|
||
- `account_id` (Number) The account id associated with the job | ||
- `job_id` (Number) The job id associated with the job | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.