dbtcloud.Repository
Explore with Pulumi AI
This resource allows you to manage connections to git repositories in dbt Cloud.
By itself, this resource won’t show you the repository in the dbt Cloud UI.
You will need to also set up a dbtcloud.ProjectRepository
resource as well to link your dbt Cloud project and the git repository.
In order to find the github_installation_id
, you can log in to dbt Cloud, replace <dbt_cloud_url>
by your dbt Cloud
URL and run the following commands in the Google Chrome console:
dbt_cloud_api_result = await (fetch('https://<dbt_cloud_url>/api/v2/integrations/github/installations/').then(res => res.json()));
console.log("github_application_id: " + dbt_cloud_api_result.filter(res => res["access_tokens_url"].includes("github"))[0]["id"]);
Alternatively, you can go to the page https://<dbt_cloud_url>/api/v2/integrations/github/installations/
and read the
value of id
or use the http
provider to retrieve it automatically like in the example below.
Create Repository Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Repository(name: string, args: RepositoryArgs, opts?: CustomResourceOptions);
@overload
def Repository(resource_name: str,
args: RepositoryArgs,
opts: Optional[ResourceOptions] = None)
@overload
def Repository(resource_name: str,
opts: Optional[ResourceOptions] = None,
project_id: Optional[int] = None,
remote_url: Optional[str] = None,
azure_active_directory_project_id: Optional[str] = None,
azure_active_directory_repository_id: Optional[str] = None,
azure_bypass_webhook_registration_failure: Optional[bool] = None,
fetch_deploy_key: Optional[bool] = None,
git_clone_strategy: Optional[str] = None,
github_installation_id: Optional[int] = None,
gitlab_project_id: Optional[int] = None,
is_active: Optional[bool] = None,
pull_request_url_template: Optional[str] = None)
func NewRepository(ctx *Context, name string, args RepositoryArgs, opts ...ResourceOption) (*Repository, error)
public Repository(string name, RepositoryArgs args, CustomResourceOptions? opts = null)
public Repository(String name, RepositoryArgs args)
public Repository(String name, RepositoryArgs args, CustomResourceOptions options)
type: dbtcloud:Repository
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name
This property is required. string - The unique name of the resource.
- args
This property is required. RepositoryArgs - The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name
This property is required. str - The unique name of the resource.
- args
This property is required. RepositoryArgs - The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name
This property is required. string - The unique name of the resource.
- args
This property is required. RepositoryArgs - The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name
This property is required. string - The unique name of the resource.
- args
This property is required. RepositoryArgs - The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name
This property is required. String - The unique name of the resource.
- args
This property is required. RepositoryArgs - The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var repositoryResource = new DbtCloud.Repository("repositoryResource", new()
{
ProjectId = 0,
RemoteUrl = "string",
AzureActiveDirectoryProjectId = "string",
AzureActiveDirectoryRepositoryId = "string",
AzureBypassWebhookRegistrationFailure = false,
GitCloneStrategy = "string",
GithubInstallationId = 0,
GitlabProjectId = 0,
IsActive = false,
PullRequestUrlTemplate = "string",
});
example, err := dbtcloud.NewRepository(ctx, "repositoryResource", &dbtcloud.RepositoryArgs{
ProjectId: pulumi.Int(0),
RemoteUrl: pulumi.String("string"),
AzureActiveDirectoryProjectId: pulumi.String("string"),
AzureActiveDirectoryRepositoryId: pulumi.String("string"),
AzureBypassWebhookRegistrationFailure: pulumi.Bool(false),
GitCloneStrategy: pulumi.String("string"),
GithubInstallationId: pulumi.Int(0),
GitlabProjectId: pulumi.Int(0),
IsActive: pulumi.Bool(false),
PullRequestUrlTemplate: pulumi.String("string"),
})
var repositoryResource = new Repository("repositoryResource", RepositoryArgs.builder()
.projectId(0)
.remoteUrl("string")
.azureActiveDirectoryProjectId("string")
.azureActiveDirectoryRepositoryId("string")
.azureBypassWebhookRegistrationFailure(false)
.gitCloneStrategy("string")
.githubInstallationId(0)
.gitlabProjectId(0)
.isActive(false)
.pullRequestUrlTemplate("string")
.build());
repository_resource = dbtcloud.Repository("repositoryResource",
project_id=0,
remote_url="string",
azure_active_directory_project_id="string",
azure_active_directory_repository_id="string",
azure_bypass_webhook_registration_failure=False,
git_clone_strategy="string",
github_installation_id=0,
gitlab_project_id=0,
is_active=False,
pull_request_url_template="string")
const repositoryResource = new dbtcloud.Repository("repositoryResource", {
projectId: 0,
remoteUrl: "string",
azureActiveDirectoryProjectId: "string",
azureActiveDirectoryRepositoryId: "string",
azureBypassWebhookRegistrationFailure: false,
gitCloneStrategy: "string",
githubInstallationId: 0,
gitlabProjectId: 0,
isActive: false,
pullRequestUrlTemplate: "string",
});
type: dbtcloud:Repository
properties:
azureActiveDirectoryProjectId: string
azureActiveDirectoryRepositoryId: string
azureBypassWebhookRegistrationFailure: false
gitCloneStrategy: string
githubInstallationId: 0
gitlabProjectId: 0
isActive: false
projectId: 0
pullRequestUrlTemplate: string
remoteUrl: string
Repository Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The Repository resource accepts the following input properties:
- Project
Id This property is required. Changes to this property will trigger replacement.
- Project ID to create the repository in
- Remote
Url This property is required. Changes to this property will trigger replacement.
- Git URL for the repository or / for Gitlab
- Azure
Active Directory Project Id Changes to this property will trigger replacement.
- The Azure Dev Ops project ID. It can be retrieved via the Azure API or using the data source
dbtcloud.getAzureDevOpsProject
and the project name - (for ADO native integration only) - Azure
Active Directory Repository Id Changes to this property will trigger replacement.
- The Azure Dev Ops repository ID. It can be retrieved via the Azure API or using the data source
dbtcloud.getAzureDevOpsRepository
along with the ADO Project ID and the repository name - (for ADO native integration only) - Azure
Bypass Webhook Registration Failure Changes to this property will trigger replacement.
- If set to False (the default), the connection will fail if the service user doesn't have access to set webhooks (required for auto-triggering CI jobs). If set to True, the connection will be successful but no automated CI job will be triggered - (for ADO native integration only)
- Fetch
Deploy boolKey - Whether we should return the public deploy key - (for the
deploy_key
strategy) - Git
Clone Strategy Changes to this property will trigger replacement.
- Git clone strategy for the repository. Can be
deploy_key
(default) for cloning via SSH Deploy Key,github_app
for GitHub native integration,deploy_token
for the GitLab native integration andazure_active_directory_app
for ADO native integration - Github
Installation Id Changes to this property will trigger replacement.
- Identifier for the GitHub App - (for GitHub native integration only)
- Gitlab
Project Id Changes to this property will trigger replacement.
- Identifier for the Gitlab project - (for GitLab native integration only)
- Is
Active bool - Whether the repository is active
- Pull
Request stringUrl Template - URL template for creating a pull request. If it is not set, the default template will create a PR from the current branch to the branch configured in the Development environment.
- Project
Id This property is required. Changes to this property will trigger replacement.
- Project ID to create the repository in
- Remote
Url This property is required. Changes to this property will trigger replacement.
- Git URL for the repository or / for Gitlab
- Azure
Active Directory Project Id Changes to this property will trigger replacement.
- The Azure Dev Ops project ID. It can be retrieved via the Azure API or using the data source
dbtcloud.getAzureDevOpsProject
and the project name - (for ADO native integration only) - Azure
Active Directory Repository Id Changes to this property will trigger replacement.
- The Azure Dev Ops repository ID. It can be retrieved via the Azure API or using the data source
dbtcloud.getAzureDevOpsRepository
along with the ADO Project ID and the repository name - (for ADO native integration only) - Azure
Bypass Webhook Registration Failure Changes to this property will trigger replacement.
- If set to False (the default), the connection will fail if the service user doesn't have access to set webhooks (required for auto-triggering CI jobs). If set to True, the connection will be successful but no automated CI job will be triggered - (for ADO native integration only)
- Fetch
Deploy boolKey - Whether we should return the public deploy key - (for the
deploy_key
strategy) - Git
Clone Strategy Changes to this property will trigger replacement.
- Git clone strategy for the repository. Can be
deploy_key
(default) for cloning via SSH Deploy Key,github_app
for GitHub native integration,deploy_token
for the GitLab native integration andazure_active_directory_app
for ADO native integration - Github
Installation Id Changes to this property will trigger replacement.
- Identifier for the GitHub App - (for GitHub native integration only)
- Gitlab
Project Id Changes to this property will trigger replacement.
- Identifier for the Gitlab project - (for GitLab native integration only)
- Is
Active bool - Whether the repository is active
- Pull
Request stringUrl Template - URL template for creating a pull request. If it is not set, the default template will create a PR from the current branch to the branch configured in the Development environment.
- project
Id This property is required. Changes to this property will trigger replacement.
- Project ID to create the repository in
- remote
Url This property is required. Changes to this property will trigger replacement.
- Git URL for the repository or / for Gitlab
- azure
Active Directory Project Id Changes to this property will trigger replacement.
- The Azure Dev Ops project ID. It can be retrieved via the Azure API or using the data source
dbtcloud.getAzureDevOpsProject
and the project name - (for ADO native integration only) - azure
Active Directory Repository Id Changes to this property will trigger replacement.
- The Azure Dev Ops repository ID. It can be retrieved via the Azure API or using the data source
dbtcloud.getAzureDevOpsRepository
along with the ADO Project ID and the repository name - (for ADO native integration only) - azure
Bypass Webhook Registration Failure Changes to this property will trigger replacement.
- If set to False (the default), the connection will fail if the service user doesn't have access to set webhooks (required for auto-triggering CI jobs). If set to True, the connection will be successful but no automated CI job will be triggered - (for ADO native integration only)
- fetch
Deploy BooleanKey - Whether we should return the public deploy key - (for the
deploy_key
strategy) - git
Clone Strategy Changes to this property will trigger replacement.
- Git clone strategy for the repository. Can be
deploy_key
(default) for cloning via SSH Deploy Key,github_app
for GitHub native integration,deploy_token
for the GitLab native integration andazure_active_directory_app
for ADO native integration - github
Installation Id Changes to this property will trigger replacement.
- Identifier for the GitHub App - (for GitHub native integration only)
- gitlab
Project Id Changes to this property will trigger replacement.
- Identifier for the Gitlab project - (for GitLab native integration only)
- is
Active Boolean - Whether the repository is active
- pull
Request StringUrl Template - URL template for creating a pull request. If it is not set, the default template will create a PR from the current branch to the branch configured in the Development environment.
- project
Id This property is required. Changes to this property will trigger replacement.
- Project ID to create the repository in
- remote
Url This property is required. Changes to this property will trigger replacement.
- Git URL for the repository or / for Gitlab
- azure
Active Directory Project Id Changes to this property will trigger replacement.
- The Azure Dev Ops project ID. It can be retrieved via the Azure API or using the data source
dbtcloud.getAzureDevOpsProject
and the project name - (for ADO native integration only) - azure
Active Directory Repository Id Changes to this property will trigger replacement.
- The Azure Dev Ops repository ID. It can be retrieved via the Azure API or using the data source
dbtcloud.getAzureDevOpsRepository
along with the ADO Project ID and the repository name - (for ADO native integration only) - azure
Bypass Webhook Registration Failure Changes to this property will trigger replacement.
- If set to False (the default), the connection will fail if the service user doesn't have access to set webhooks (required for auto-triggering CI jobs). If set to True, the connection will be successful but no automated CI job will be triggered - (for ADO native integration only)
- fetch
Deploy booleanKey - Whether we should return the public deploy key - (for the
deploy_key
strategy) - git
Clone Strategy Changes to this property will trigger replacement.
- Git clone strategy for the repository. Can be
deploy_key
(default) for cloning via SSH Deploy Key,github_app
for GitHub native integration,deploy_token
for the GitLab native integration andazure_active_directory_app
for ADO native integration - github
Installation Id Changes to this property will trigger replacement.
- Identifier for the GitHub App - (for GitHub native integration only)
- gitlab
Project Id Changes to this property will trigger replacement.
- Identifier for the Gitlab project - (for GitLab native integration only)
- is
Active boolean - Whether the repository is active
- pull
Request stringUrl Template - URL template for creating a pull request. If it is not set, the default template will create a PR from the current branch to the branch configured in the Development environment.
- project_
id This property is required. Changes to this property will trigger replacement.
- Project ID to create the repository in
- remote_
url This property is required. Changes to this property will trigger replacement.
- Git URL for the repository or / for Gitlab
- azure_
active_ directory_ project_ id Changes to this property will trigger replacement.
- The Azure Dev Ops project ID. It can be retrieved via the Azure API or using the data source
dbtcloud.getAzureDevOpsProject
and the project name - (for ADO native integration only) - azure_
active_ directory_ repository_ id Changes to this property will trigger replacement.
- The Azure Dev Ops repository ID. It can be retrieved via the Azure API or using the data source
dbtcloud.getAzureDevOpsRepository
along with the ADO Project ID and the repository name - (for ADO native integration only) - azure_
bypass_ webhook_ registration_ failure Changes to this property will trigger replacement.
- If set to False (the default), the connection will fail if the service user doesn't have access to set webhooks (required for auto-triggering CI jobs). If set to True, the connection will be successful but no automated CI job will be triggered - (for ADO native integration only)
- fetch_
deploy_ boolkey - Whether we should return the public deploy key - (for the
deploy_key
strategy) - git_
clone_ strategy Changes to this property will trigger replacement.
- Git clone strategy for the repository. Can be
deploy_key
(default) for cloning via SSH Deploy Key,github_app
for GitHub native integration,deploy_token
for the GitLab native integration andazure_active_directory_app
for ADO native integration - github_
installation_ id Changes to this property will trigger replacement.
- Identifier for the GitHub App - (for GitHub native integration only)
- gitlab_
project_ id Changes to this property will trigger replacement.
- Identifier for the Gitlab project - (for GitLab native integration only)
- is_
active bool - Whether the repository is active
- pull_
request_ strurl_ template - URL template for creating a pull request. If it is not set, the default template will create a PR from the current branch to the branch configured in the Development environment.
- project
Id This property is required. Changes to this property will trigger replacement.
- Project ID to create the repository in
- remote
Url This property is required. Changes to this property will trigger replacement.
- Git URL for the repository or / for Gitlab
- azure
Active Directory Project Id Changes to this property will trigger replacement.
- The Azure Dev Ops project ID. It can be retrieved via the Azure API or using the data source
dbtcloud.getAzureDevOpsProject
and the project name - (for ADO native integration only) - azure
Active Directory Repository Id Changes to this property will trigger replacement.
- The Azure Dev Ops repository ID. It can be retrieved via the Azure API or using the data source
dbtcloud.getAzureDevOpsRepository
along with the ADO Project ID and the repository name - (for ADO native integration only) - azure
Bypass Webhook Registration Failure Changes to this property will trigger replacement.
- If set to False (the default), the connection will fail if the service user doesn't have access to set webhooks (required for auto-triggering CI jobs). If set to True, the connection will be successful but no automated CI job will be triggered - (for ADO native integration only)
- fetch
Deploy BooleanKey - Whether we should return the public deploy key - (for the
deploy_key
strategy) - git
Clone Strategy Changes to this property will trigger replacement.
- Git clone strategy for the repository. Can be
deploy_key
(default) for cloning via SSH Deploy Key,github_app
for GitHub native integration,deploy_token
for the GitLab native integration andazure_active_directory_app
for ADO native integration - github
Installation Id Changes to this property will trigger replacement.
- Identifier for the GitHub App - (for GitHub native integration only)
- gitlab
Project Id Changes to this property will trigger replacement.
- Identifier for the Gitlab project - (for GitLab native integration only)
- is
Active Boolean - Whether the repository is active
- pull
Request StringUrl Template - URL template for creating a pull request. If it is not set, the default template will create a PR from the current branch to the branch configured in the Development environment.
Outputs
All input properties are implicitly available as output properties. Additionally, the Repository resource produces the following output properties:
- Deploy
Key string - Public key generated by dbt when using
deploy_key
clone strategy - Id string
- The provider-assigned unique ID for this managed resource.
- Repository
Credentials intId - Credentials ID for the repository (From the repository side not the dbt Cloud ID)
- Repository
Id int - Repository Identifier
- Deploy
Key string - Public key generated by dbt when using
deploy_key
clone strategy - Id string
- The provider-assigned unique ID for this managed resource.
- Repository
Credentials intId - Credentials ID for the repository (From the repository side not the dbt Cloud ID)
- Repository
Id int - Repository Identifier
- deploy
Key String - Public key generated by dbt when using
deploy_key
clone strategy - id String
- The provider-assigned unique ID for this managed resource.
- repository
Credentials IntegerId - Credentials ID for the repository (From the repository side not the dbt Cloud ID)
- repository
Id Integer - Repository Identifier
- deploy
Key string - Public key generated by dbt when using
deploy_key
clone strategy - id string
- The provider-assigned unique ID for this managed resource.
- repository
Credentials numberId - Credentials ID for the repository (From the repository side not the dbt Cloud ID)
- repository
Id number - Repository Identifier
- deploy_
key str - Public key generated by dbt when using
deploy_key
clone strategy - id str
- The provider-assigned unique ID for this managed resource.
- repository_
credentials_ intid - Credentials ID for the repository (From the repository side not the dbt Cloud ID)
- repository_
id int - Repository Identifier
- deploy
Key String - Public key generated by dbt when using
deploy_key
clone strategy - id String
- The provider-assigned unique ID for this managed resource.
- repository
Credentials NumberId - Credentials ID for the repository (From the repository side not the dbt Cloud ID)
- repository
Id Number - Repository Identifier
Look up Existing Repository Resource
Get an existing Repository resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: RepositoryState, opts?: CustomResourceOptions): Repository
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
azure_active_directory_project_id: Optional[str] = None,
azure_active_directory_repository_id: Optional[str] = None,
azure_bypass_webhook_registration_failure: Optional[bool] = None,
deploy_key: Optional[str] = None,
fetch_deploy_key: Optional[bool] = None,
git_clone_strategy: Optional[str] = None,
github_installation_id: Optional[int] = None,
gitlab_project_id: Optional[int] = None,
is_active: Optional[bool] = None,
project_id: Optional[int] = None,
pull_request_url_template: Optional[str] = None,
remote_url: Optional[str] = None,
repository_credentials_id: Optional[int] = None,
repository_id: Optional[int] = None) -> Repository
func GetRepository(ctx *Context, name string, id IDInput, state *RepositoryState, opts ...ResourceOption) (*Repository, error)
public static Repository Get(string name, Input<string> id, RepositoryState? state, CustomResourceOptions? opts = null)
public static Repository get(String name, Output<String> id, RepositoryState state, CustomResourceOptions options)
resources: _: type: dbtcloud:Repository get: id: ${id}
- name
This property is required. - The unique name of the resulting resource.
- id
This property is required. - The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
This property is required. - The unique name of the resulting resource.
- id
This property is required. - The unique provider ID of the resource to lookup.
- name
This property is required. - The unique name of the resulting resource.
- id
This property is required. - The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
This property is required. - The unique name of the resulting resource.
- id
This property is required. - The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
This property is required. - The unique name of the resulting resource.
- id
This property is required. - The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Azure
Active Directory Project Id Changes to this property will trigger replacement.
- The Azure Dev Ops project ID. It can be retrieved via the Azure API or using the data source
dbtcloud.getAzureDevOpsProject
and the project name - (for ADO native integration only) - Azure
Active Directory Repository Id Changes to this property will trigger replacement.
- The Azure Dev Ops repository ID. It can be retrieved via the Azure API or using the data source
dbtcloud.getAzureDevOpsRepository
along with the ADO Project ID and the repository name - (for ADO native integration only) - Azure
Bypass Webhook Registration Failure Changes to this property will trigger replacement.
- If set to False (the default), the connection will fail if the service user doesn't have access to set webhooks (required for auto-triggering CI jobs). If set to True, the connection will be successful but no automated CI job will be triggered - (for ADO native integration only)
- Deploy
Key string - Public key generated by dbt when using
deploy_key
clone strategy - Fetch
Deploy boolKey - Whether we should return the public deploy key - (for the
deploy_key
strategy) - Git
Clone Strategy Changes to this property will trigger replacement.
- Git clone strategy for the repository. Can be
deploy_key
(default) for cloning via SSH Deploy Key,github_app
for GitHub native integration,deploy_token
for the GitLab native integration andazure_active_directory_app
for ADO native integration - Github
Installation Id Changes to this property will trigger replacement.
- Identifier for the GitHub App - (for GitHub native integration only)
- Gitlab
Project Id Changes to this property will trigger replacement.
- Identifier for the Gitlab project - (for GitLab native integration only)
- Is
Active bool - Whether the repository is active
- Project
Id Changes to this property will trigger replacement.
- Project ID to create the repository in
- Pull
Request stringUrl Template - URL template for creating a pull request. If it is not set, the default template will create a PR from the current branch to the branch configured in the Development environment.
- Remote
Url Changes to this property will trigger replacement.
- Git URL for the repository or / for Gitlab
- Repository
Credentials intId - Credentials ID for the repository (From the repository side not the dbt Cloud ID)
- Repository
Id int - Repository Identifier
- Azure
Active Directory Project Id Changes to this property will trigger replacement.
- The Azure Dev Ops project ID. It can be retrieved via the Azure API or using the data source
dbtcloud.getAzureDevOpsProject
and the project name - (for ADO native integration only) - Azure
Active Directory Repository Id Changes to this property will trigger replacement.
- The Azure Dev Ops repository ID. It can be retrieved via the Azure API or using the data source
dbtcloud.getAzureDevOpsRepository
along with the ADO Project ID and the repository name - (for ADO native integration only) - Azure
Bypass Webhook Registration Failure Changes to this property will trigger replacement.
- If set to False (the default), the connection will fail if the service user doesn't have access to set webhooks (required for auto-triggering CI jobs). If set to True, the connection will be successful but no automated CI job will be triggered - (for ADO native integration only)
- Deploy
Key string - Public key generated by dbt when using
deploy_key
clone strategy - Fetch
Deploy boolKey - Whether we should return the public deploy key - (for the
deploy_key
strategy) - Git
Clone Strategy Changes to this property will trigger replacement.
- Git clone strategy for the repository. Can be
deploy_key
(default) for cloning via SSH Deploy Key,github_app
for GitHub native integration,deploy_token
for the GitLab native integration andazure_active_directory_app
for ADO native integration - Github
Installation Id Changes to this property will trigger replacement.
- Identifier for the GitHub App - (for GitHub native integration only)
- Gitlab
Project Id Changes to this property will trigger replacement.
- Identifier for the Gitlab project - (for GitLab native integration only)
- Is
Active bool - Whether the repository is active
- Project
Id Changes to this property will trigger replacement.
- Project ID to create the repository in
- Pull
Request stringUrl Template - URL template for creating a pull request. If it is not set, the default template will create a PR from the current branch to the branch configured in the Development environment.
- Remote
Url Changes to this property will trigger replacement.
- Git URL for the repository or / for Gitlab
- Repository
Credentials intId - Credentials ID for the repository (From the repository side not the dbt Cloud ID)
- Repository
Id int - Repository Identifier
- azure
Active Directory Project Id Changes to this property will trigger replacement.
- The Azure Dev Ops project ID. It can be retrieved via the Azure API or using the data source
dbtcloud.getAzureDevOpsProject
and the project name - (for ADO native integration only) - azure
Active Directory Repository Id Changes to this property will trigger replacement.
- The Azure Dev Ops repository ID. It can be retrieved via the Azure API or using the data source
dbtcloud.getAzureDevOpsRepository
along with the ADO Project ID and the repository name - (for ADO native integration only) - azure
Bypass Webhook Registration Failure Changes to this property will trigger replacement.
- If set to False (the default), the connection will fail if the service user doesn't have access to set webhooks (required for auto-triggering CI jobs). If set to True, the connection will be successful but no automated CI job will be triggered - (for ADO native integration only)
- deploy
Key String - Public key generated by dbt when using
deploy_key
clone strategy - fetch
Deploy BooleanKey - Whether we should return the public deploy key - (for the
deploy_key
strategy) - git
Clone Strategy Changes to this property will trigger replacement.
- Git clone strategy for the repository. Can be
deploy_key
(default) for cloning via SSH Deploy Key,github_app
for GitHub native integration,deploy_token
for the GitLab native integration andazure_active_directory_app
for ADO native integration - github
Installation Id Changes to this property will trigger replacement.
- Identifier for the GitHub App - (for GitHub native integration only)
- gitlab
Project Id Changes to this property will trigger replacement.
- Identifier for the Gitlab project - (for GitLab native integration only)
- is
Active Boolean - Whether the repository is active
- project
Id Changes to this property will trigger replacement.
- Project ID to create the repository in
- pull
Request StringUrl Template - URL template for creating a pull request. If it is not set, the default template will create a PR from the current branch to the branch configured in the Development environment.
- remote
Url Changes to this property will trigger replacement.
- Git URL for the repository or / for Gitlab
- repository
Credentials IntegerId - Credentials ID for the repository (From the repository side not the dbt Cloud ID)
- repository
Id Integer - Repository Identifier
- azure
Active Directory Project Id Changes to this property will trigger replacement.
- The Azure Dev Ops project ID. It can be retrieved via the Azure API or using the data source
dbtcloud.getAzureDevOpsProject
and the project name - (for ADO native integration only) - azure
Active Directory Repository Id Changes to this property will trigger replacement.
- The Azure Dev Ops repository ID. It can be retrieved via the Azure API or using the data source
dbtcloud.getAzureDevOpsRepository
along with the ADO Project ID and the repository name - (for ADO native integration only) - azure
Bypass Webhook Registration Failure Changes to this property will trigger replacement.
- If set to False (the default), the connection will fail if the service user doesn't have access to set webhooks (required for auto-triggering CI jobs). If set to True, the connection will be successful but no automated CI job will be triggered - (for ADO native integration only)
- deploy
Key string - Public key generated by dbt when using
deploy_key
clone strategy - fetch
Deploy booleanKey - Whether we should return the public deploy key - (for the
deploy_key
strategy) - git
Clone Strategy Changes to this property will trigger replacement.
- Git clone strategy for the repository. Can be
deploy_key
(default) for cloning via SSH Deploy Key,github_app
for GitHub native integration,deploy_token
for the GitLab native integration andazure_active_directory_app
for ADO native integration - github
Installation Id Changes to this property will trigger replacement.
- Identifier for the GitHub App - (for GitHub native integration only)
- gitlab
Project Id Changes to this property will trigger replacement.
- Identifier for the Gitlab project - (for GitLab native integration only)
- is
Active boolean - Whether the repository is active
- project
Id Changes to this property will trigger replacement.
- Project ID to create the repository in
- pull
Request stringUrl Template - URL template for creating a pull request. If it is not set, the default template will create a PR from the current branch to the branch configured in the Development environment.
- remote
Url Changes to this property will trigger replacement.
- Git URL for the repository or / for Gitlab
- repository
Credentials numberId - Credentials ID for the repository (From the repository side not the dbt Cloud ID)
- repository
Id number - Repository Identifier
- azure_
active_ directory_ project_ id Changes to this property will trigger replacement.
- The Azure Dev Ops project ID. It can be retrieved via the Azure API or using the data source
dbtcloud.getAzureDevOpsProject
and the project name - (for ADO native integration only) - azure_
active_ directory_ repository_ id Changes to this property will trigger replacement.
- The Azure Dev Ops repository ID. It can be retrieved via the Azure API or using the data source
dbtcloud.getAzureDevOpsRepository
along with the ADO Project ID and the repository name - (for ADO native integration only) - azure_
bypass_ webhook_ registration_ failure Changes to this property will trigger replacement.
- If set to False (the default), the connection will fail if the service user doesn't have access to set webhooks (required for auto-triggering CI jobs). If set to True, the connection will be successful but no automated CI job will be triggered - (for ADO native integration only)
- deploy_
key str - Public key generated by dbt when using
deploy_key
clone strategy - fetch_
deploy_ boolkey - Whether we should return the public deploy key - (for the
deploy_key
strategy) - git_
clone_ strategy Changes to this property will trigger replacement.
- Git clone strategy for the repository. Can be
deploy_key
(default) for cloning via SSH Deploy Key,github_app
for GitHub native integration,deploy_token
for the GitLab native integration andazure_active_directory_app
for ADO native integration - github_
installation_ id Changes to this property will trigger replacement.
- Identifier for the GitHub App - (for GitHub native integration only)
- gitlab_
project_ id Changes to this property will trigger replacement.
- Identifier for the Gitlab project - (for GitLab native integration only)
- is_
active bool - Whether the repository is active
- project_
id Changes to this property will trigger replacement.
- Project ID to create the repository in
- pull_
request_ strurl_ template - URL template for creating a pull request. If it is not set, the default template will create a PR from the current branch to the branch configured in the Development environment.
- remote_
url Changes to this property will trigger replacement.
- Git URL for the repository or / for Gitlab
- repository_
credentials_ intid - Credentials ID for the repository (From the repository side not the dbt Cloud ID)
- repository_
id int - Repository Identifier
- azure
Active Directory Project Id Changes to this property will trigger replacement.
- The Azure Dev Ops project ID. It can be retrieved via the Azure API or using the data source
dbtcloud.getAzureDevOpsProject
and the project name - (for ADO native integration only) - azure
Active Directory Repository Id Changes to this property will trigger replacement.
- The Azure Dev Ops repository ID. It can be retrieved via the Azure API or using the data source
dbtcloud.getAzureDevOpsRepository
along with the ADO Project ID and the repository name - (for ADO native integration only) - azure
Bypass Webhook Registration Failure Changes to this property will trigger replacement.
- If set to False (the default), the connection will fail if the service user doesn't have access to set webhooks (required for auto-triggering CI jobs). If set to True, the connection will be successful but no automated CI job will be triggered - (for ADO native integration only)
- deploy
Key String - Public key generated by dbt when using
deploy_key
clone strategy - fetch
Deploy BooleanKey - Whether we should return the public deploy key - (for the
deploy_key
strategy) - git
Clone Strategy Changes to this property will trigger replacement.
- Git clone strategy for the repository. Can be
deploy_key
(default) for cloning via SSH Deploy Key,github_app
for GitHub native integration,deploy_token
for the GitLab native integration andazure_active_directory_app
for ADO native integration - github
Installation Id Changes to this property will trigger replacement.
- Identifier for the GitHub App - (for GitHub native integration only)
- gitlab
Project Id Changes to this property will trigger replacement.
- Identifier for the Gitlab project - (for GitLab native integration only)
- is
Active Boolean - Whether the repository is active
- project
Id Changes to this property will trigger replacement.
- Project ID to create the repository in
- pull
Request StringUrl Template - URL template for creating a pull request. If it is not set, the default template will create a PR from the current branch to the branch configured in the Development environment.
- remote
Url Changes to this property will trigger replacement.
- Git URL for the repository or / for Gitlab
- repository
Credentials NumberId - Credentials ID for the repository (From the repository side not the dbt Cloud ID)
- repository
Id Number - Repository Identifier
Package Details
- Repository
- dbtcloud pulumi/pulumi-dbtcloud
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
dbtcloud
Terraform Provider.