-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
3b96200
commit aa5c063
Showing
8 changed files
with
51 additions
and
17 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -28,7 +28,7 @@ Then you need to set up the dbt Project public key (field `public_key` in create | |
```hcl | ||
resource "github_repository_deploy_key" "example_repository_deploy_key" { | ||
title = "Repository test key" | ||
repository = "your-repo" | ||
repository = "repo-owner/repo-name" | ||
key = fivetran_dbt_project.project.public_key | ||
read_only = true | ||
} | ||
|
@@ -40,7 +40,7 @@ And after that you can configure your project in `fivetran_dbt_git_project_confi | |
resource "fivetran_dbt_git_project_config" "project_config" { | ||
id = fivetran_dbt_project.project.id | ||
|
||
git_remote_url = "[email protected]:your-repo.git" | ||
git_remote_url = "[email protected]:repo-owner/repo-name.git" | ||
git_branch = "main" | ||
} | ||
``` | ||
|
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 |
---|---|---|
|
@@ -72,8 +72,30 @@ resource "fivetran_dbt_project" "test_project" { | |
type = "GIT" | ||
} | ||
|
||
|
||
For GitHub based repositories | ||
```hcl | ||
resource "github_repository_deploy_key" "example_repository_deploy_key" { | ||
title = "Repository test key" | ||
repository = "fivetran/dbt_demo" | ||
key = fivetran_dbt_project.test_project.public_key | ||
read_only = true | ||
} | ||
``` | ||
|
||
For Bitbucket based repositories | ||
```hcl | ||
resource "bitbucket_deploy_key" "test" { | ||
workspace = "fivetran" | ||
repository = "dbt_demo" | ||
key = fivetran_dbt_project.test_project.public_key | ||
label = "Repository test key" | ||
} | ||
``` | ||
|
||
```hcl | ||
resource "fivetran_dbt_git_project_config" "test_project_config" { | ||
id = fivetran_dbt_project.test_project.id | ||
project_id = fivetran_dbt_project.test_project.id | ||
|
||
folder_path = "/folder/path" | ||
git_remote_url = "[email protected]:fivetran/dbt_demo.git" | ||
|
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 |
---|---|---|
|
@@ -28,7 +28,7 @@ Then you need to set up the dbt Project public key (field `public_key` in create | |
```hcl | ||
resource "github_repository_deploy_key" "example_repository_deploy_key" { | ||
title = "Repository test key" | ||
repository = "your-repo" | ||
repository = "repo-owner/repo-name" | ||
key = fivetran_dbt_project.project.public_key | ||
read_only = true | ||
} | ||
|
@@ -40,7 +40,7 @@ And after that you can configure your project in `fivetran_dbt_git_project_confi | |
resource "fivetran_dbt_git_project_config" "project_config" { | ||
id = fivetran_dbt_project.project.id | ||
|
||
git_remote_url = "[email protected]:your-repo.git" | ||
git_remote_url = "[email protected]:repo-owner/repo-name.git" | ||
git_branch = "main" | ||
} | ||
``` | ||
|
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