Skip to content

Commit

Permalink
feature - update documentation (#73)
Browse files Browse the repository at this point in the history
  • Loading branch information
GtheSheep authored Aug 9, 2022
1 parent 3614642 commit d8d5d5c
Show file tree
Hide file tree
Showing 9 changed files with 62 additions and 4 deletions.
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.0.86
0.0.87
7 changes: 7 additions & 0 deletions docs/resources/dbt_cloud_connection.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,3 +39,10 @@ description: |-
- `id` (String) The ID of this resource.


### Import

Import using a project ID and connection ID found in the URL or via the API.
```commandline
terraform import dbt_cloud_connection.test_connection "project_id:connection_id"
terraform import dbt_cloud_connection.test_connection 12345:6789
```
7 changes: 7 additions & 0 deletions docs/resources/dbt_cloud_environment.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,3 +35,10 @@ description: |-
- `id` (String) The ID of this resource.


### Import

Import using a project ID and environment ID found in the URL or via the API.
```commandline
terraform import dbt_cloud_environment.test_environment "project_id:environment_id"
terraform import dbt_cloud_environment.test_environment 12345:6789
```
10 changes: 9 additions & 1 deletion docs/resources/dbt_cloud_environment_variable.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@ description: |-

# dbt_cloud_environment_variable (Resource)


*Note*: Some upstream resources can be slow to create, so if creating a project or environment at
the same time as the environment variables, it's recommended to use the `depends_on` meta argument.



Expand All @@ -26,3 +27,10 @@ description: |-
- `id` (String) The ID of this resource.


### Import

Import using a project ID and environment variable name found in the URL and UI or via the API.
```commandline
terraform import dbt_cloud_environment_variable.test_environment_variable "project_id:environment_variable_name"
terraform import dbt_cloud_environment_variable.test_environment_variable 12345:DBT_ENV_VAR
```
9 changes: 8 additions & 1 deletion docs/resources/dbt_cloud_group.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ description: |-

# dbt_cloud_group (Resource)


*Note*: Groups currently do not support updates, as per both the API and the UI.



Expand All @@ -30,3 +30,10 @@ description: |-
- `id` (String) The ID of this resource.


### Import

Import using a group ID found in the URL or via the API.
```commandline
terraform import dbt_cloud_group.test_group "group_id"
terraform import dbt_cloud_group.test_group 12345
```
7 changes: 7 additions & 0 deletions docs/resources/dbt_cloud_job.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,3 +43,10 @@ description: |-
- `id` (String) The ID of this resource.


### Import

Import using a job ID found in the URL or via the API.
```commandline
terraform import dbt_cloud_job.test_job "job_id"
terraform import dbt_cloud_job.test_job 12345
```
7 changes: 7 additions & 0 deletions docs/resources/dbt_cloud_project.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,3 +30,10 @@ description: |-
- `id` (String) The ID of this resource.


### Import

Import using a project ID found in the URL or via the API.
```commandline
terraform import dbt_cloud_project.test_project "project_id"
terraform import dbt_cloud_project.test_project 12345
```
10 changes: 9 additions & 1 deletion docs/resources/dbt_cloud_repository.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@ description: |-

# dbt_cloud_repository (Resource)


*Note*: Some upstream resources can be slow to create, so if creating a project at
the same time as the repository, it's recommended to use the `depends_on` meta argument.



Expand All @@ -33,3 +34,10 @@ description: |-
- `repository_id` (Number) Repository Identifier


### Import

Import using a project ID and repository ID found in the URL or via the API.
```commandline
terraform import dbt_cloud_repository.test_repository "project_id:repository_id"
terraform import dbt_cloud_repository.test_repository 12345:6789
```
7 changes: 7 additions & 0 deletions docs/resources/dbt_cloud_snowflake_credential.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,3 +36,10 @@ description: |-
- `id` (String) The ID of this resource.


### Import

Import using a project ID and credential ID found in the URL or via the API.
```commandline
terraform import dbt_cloud_snowflake_credential.test_snowflake_credential "project_id:credential_id"
terraform import dbt_cloud_snowflake_credential.test_snowflake_credential 12345:6789
```

0 comments on commit d8d5d5c

Please sign in to comment.