Skip to content

Commit 732f148

Browse files
author
Gary James
committed
docs examples
1 parent cffd2e8 commit 732f148

File tree

2 files changed

+24
-5
lines changed

2 files changed

+24
-5
lines changed

docs/index.md

+11-2
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,20 @@ description: |-
66
77
---
88

9-
# dbt-cloud Provider
10-
9+
# DBT Cloud Provider
1110

11+
This is a terraform provider plugin for managing [DBT Cloud](https://cloud.getdbt.com/) accounts.
12+
Given the current capabilities of the API we focus on the management of job definitions.
1213

14+
## Example Provider Configuration
1315

16+
```terraform
17+
provider "dbt" {
18+
// required
19+
account_id = ...
20+
token = "..."
21+
}
22+
```
1423

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

docs/resources/dbt_cloud_job.md

+13-3
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,19 @@ description: |-
88

99
# dbt_cloud_job (Resource)
1010

11-
12-
13-
11+
## Example Usage
12+
13+
```terraform
14+
resource "dbt_cloud_job" "test" {
15+
project_id = 101
16+
environment_id = 1
17+
name = "Test job"
18+
execute_steps = [
19+
"dbt run",
20+
"dbt test"
21+
]
22+
}
23+
```
1424

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

0 commit comments

Comments
 (0)