Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
51 changes: 51 additions & 0 deletions docs/data-sources/intakes.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
---
# generated by https://github.com/hashicorp/terraform-plugin-docs
page_title: "stackit_intakes Data Source - stackit"
subcategory: ""
description: |-
Datasource for STACKIT Intake.
---

# stackit_intakes (Data Source)

Datasource for STACKIT Intake.

## Example Usage

```terraform
data "stackit_intakes" "example" {
project_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
intake_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
}
```

<!-- schema generated by tfplugindocs -->
## Schema

### Required

- `intake_id` (String) The intake ID.
- `project_id` (String) STACKIT Project ID to which the intake is associated.

### Optional

- `region` (String) The resource region. If not defined, the provider region is used.

### Read-Only

- `catalog_auth_type` (String) The catalog authentication type.
- `catalog_namespace` (String) The catalog namespace.
- `catalog_partition_by` (List of String) The catalog partition by.
- `catalog_partitioning` (String) The catalog partitioning.
- `catalog_table_name` (String) The catalog table name.
- `catalog_uri` (String) The catalog URI.
- `catalog_warehouse` (String) The catalog warehouse.
- `create_time` (String) The creation time of the intake.
- `description` (String) The description of the intake.
- `dremio_personal_access_token` (String, Sensitive) The Dremio personal access token.
- `dremio_token_endpoint` (String) The Dremio token endpoint.
- `id` (String) Terraform's internal resource identifier. It is structured as `project_id`,`region`,`intake_id`.
- `labels` (Map of String) User-defined labels.
- `name` (String) The name of the intake.
- `runner_id` (String) The runner ID.
- `uri` (String) The URI of the intake.
62 changes: 62 additions & 0 deletions docs/resources/intakes.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
---
# generated by https://github.com/hashicorp/terraform-plugin-docs
page_title: "stackit_intakes Resource - stackit"
subcategory: ""
description: |-
Manages STACKIT Intake.
---

# stackit_intakes (Resource)

Manages STACKIT Intake.

## Example Usage

```terraform
resource "stackit_intakes" "example" {
project_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
runner_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
name = "example-intake"
description = "An example intake for STACKIT Intake service"
catalog_auth_type = "dremio"
catalog_warehouse = "default"
catalog_uri = "https://dremio.eu01.onstackit.cloud/iceberg"
dremio_token_endpoint = "https://dremio.eu01.onstackit.cloud/oauth/token"
dremio_personal_access_token = "my-dremio-pat-token"

labels = {
"env" = "development"
}
}
```

<!-- schema generated by tfplugindocs -->
## Schema

### Required

- `name` (String) The name of the intake.
- `project_id` (String) STACKIT Project ID to which the intake is associated.
- `runner_id` (String) The runner ID.

### Optional

- `catalog_auth_type` (String) The catalog authentication type.
- `catalog_namespace` (String) The catalog namespace.
- `catalog_partition_by` (List of String) The catalog partition by.
- `catalog_partitioning` (String) The catalog partitioning.
- `catalog_table_name` (String) The catalog table name.
- `catalog_uri` (String) The catalog URI.
- `catalog_warehouse` (String) The catalog warehouse.
- `description` (String) The description of the intake.
- `dremio_personal_access_token` (String, Sensitive) The Dremio personal access token.
- `dremio_token_endpoint` (String) The Dremio token endpoint.
- `labels` (Map of String) User-defined labels.
- `region` (String) The resource region. If not defined, the provider region is used.

### Read-Only

- `create_time` (String) The creation time of the intake.
- `id` (String) Terraform's internal resource identifier. It is structured as `project_id`,`region`,`intake_id`.
- `intake_id` (String) The intake ID.
- `uri` (String) The URI of the intake.
4 changes: 4 additions & 0 deletions examples/data-sources/stackit_intakes/data-source.tf
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
data "stackit_intakes" "example" {
project_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
intake_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
}
15 changes: 15 additions & 0 deletions examples/resources/stackit_intakes/resource.tf
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
resource "stackit_intakes" "example" {
project_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
runner_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
name = "example-intake"
description = "An example intake for STACKIT Intake service"
catalog_auth_type = "dremio"
catalog_warehouse = "default"
catalog_uri = "https://dremio.eu01.onstackit.cloud/iceberg"
dremio_token_endpoint = "https://dremio.eu01.onstackit.cloud/oauth/token"
dremio_personal_access_token = "my-dremio-pat-token"

labels = {
"env" = "development"
}
}
Loading