dbtcloud.Provider
Explore with Pulumi AI
The provider type for the dbtcloud package. By default, resources use package-wide configuration
settings, however an explicit Provider
instance may be created and passed during resource
construction to achieve fine-grained programmatic control over provider settings. See the
documentation for more information.
Create Provider Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Provider(name: string, args?: ProviderArgs, opts?: CustomResourceOptions);
@overload
def Provider(resource_name: str,
args: Optional[ProviderArgs] = None,
opts: Optional[ResourceOptions] = None)
@overload
def Provider(resource_name: str,
opts: Optional[ResourceOptions] = None,
account_id: Optional[int] = None,
disable_retry: Optional[bool] = None,
host_url: Optional[str] = None,
max_retries: Optional[int] = None,
retriable_status_codes: Optional[Sequence[str]] = None,
retry_interval_seconds: Optional[int] = None,
token: Optional[str] = None)
func NewProvider(ctx *Context, name string, args *ProviderArgs, opts ...ResourceOption) (*Provider, error)
public Provider(string name, ProviderArgs? args = null, CustomResourceOptions? opts = null)
public Provider(String name, ProviderArgs args)
public Provider(String name, ProviderArgs args, CustomResourceOptions options)
type: pulumi:providers:dbtcloud
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args ProviderArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args ProviderArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args ProviderArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ProviderArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ProviderArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Provider 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 Provider resource accepts the following input properties:
- Account
Id int - Account identifier for your dbt Cloud implementation. Instead of setting the parameter, you can set the environment
variable
DBT_CLOUD_ACCOUNT_ID
It can also be sourced from the following environment variable:DBT_CLOUD_ACCOUNT_ID
- Disable
Retry bool - If set to true, the provider will not retry requests that fail due to rate limiting. Defaults to false.
- Host
Url string - URL for your dbt Cloud deployment. Instead of setting the parameter, you can set the environment variable
DBT_CLOUD_HOST_URL
- Defaults to https://cloud.getdbt.com/api It can also be sourced from the following environment variable:DBT_CLOUD_HOST_URL
- Max
Retries int - The maximum number of retries to attempt for requests that fail due to rate limiting. Defaults to 3 retries.
- Retriable
Status List<string>Codes - List of HTTP status codes that should be retried when encountered. Defaults to [429, 500, 502, 503, 504].
- Retry
Interval intSeconds - The number of seconds to wait before retrying a request that failed due to rate limiting. Defaults to 10 seconds.
- Token string
- API token for your dbt Cloud. Instead of setting the parameter, you can set the environment variable
DBT_CLOUD_TOKEN
It can also be sourced from the following environment variable:DBT_CLOUD_TOKEN
- Account
Id int - Account identifier for your dbt Cloud implementation. Instead of setting the parameter, you can set the environment
variable
DBT_CLOUD_ACCOUNT_ID
It can also be sourced from the following environment variable:DBT_CLOUD_ACCOUNT_ID
- Disable
Retry bool - If set to true, the provider will not retry requests that fail due to rate limiting. Defaults to false.
- Host
Url string - URL for your dbt Cloud deployment. Instead of setting the parameter, you can set the environment variable
DBT_CLOUD_HOST_URL
- Defaults to https://cloud.getdbt.com/api It can also be sourced from the following environment variable:DBT_CLOUD_HOST_URL
- Max
Retries int - The maximum number of retries to attempt for requests that fail due to rate limiting. Defaults to 3 retries.
- Retriable
Status []stringCodes - List of HTTP status codes that should be retried when encountered. Defaults to [429, 500, 502, 503, 504].
- Retry
Interval intSeconds - The number of seconds to wait before retrying a request that failed due to rate limiting. Defaults to 10 seconds.
- Token string
- API token for your dbt Cloud. Instead of setting the parameter, you can set the environment variable
DBT_CLOUD_TOKEN
It can also be sourced from the following environment variable:DBT_CLOUD_TOKEN
- account
Id Integer - Account identifier for your dbt Cloud implementation. Instead of setting the parameter, you can set the environment
variable
DBT_CLOUD_ACCOUNT_ID
It can also be sourced from the following environment variable:DBT_CLOUD_ACCOUNT_ID
- disable
Retry Boolean - If set to true, the provider will not retry requests that fail due to rate limiting. Defaults to false.
- host
Url String - URL for your dbt Cloud deployment. Instead of setting the parameter, you can set the environment variable
DBT_CLOUD_HOST_URL
- Defaults to https://cloud.getdbt.com/api It can also be sourced from the following environment variable:DBT_CLOUD_HOST_URL
- max
Retries Integer - The maximum number of retries to attempt for requests that fail due to rate limiting. Defaults to 3 retries.
- retriable
Status List<String>Codes - List of HTTP status codes that should be retried when encountered. Defaults to [429, 500, 502, 503, 504].
- retry
Interval IntegerSeconds - The number of seconds to wait before retrying a request that failed due to rate limiting. Defaults to 10 seconds.
- token String
- API token for your dbt Cloud. Instead of setting the parameter, you can set the environment variable
DBT_CLOUD_TOKEN
It can also be sourced from the following environment variable:DBT_CLOUD_TOKEN
- account
Id number - Account identifier for your dbt Cloud implementation. Instead of setting the parameter, you can set the environment
variable
DBT_CLOUD_ACCOUNT_ID
It can also be sourced from the following environment variable:DBT_CLOUD_ACCOUNT_ID
- disable
Retry boolean - If set to true, the provider will not retry requests that fail due to rate limiting. Defaults to false.
- host
Url string - URL for your dbt Cloud deployment. Instead of setting the parameter, you can set the environment variable
DBT_CLOUD_HOST_URL
- Defaults to https://cloud.getdbt.com/api It can also be sourced from the following environment variable:DBT_CLOUD_HOST_URL
- max
Retries number - The maximum number of retries to attempt for requests that fail due to rate limiting. Defaults to 3 retries.
- retriable
Status string[]Codes - List of HTTP status codes that should be retried when encountered. Defaults to [429, 500, 502, 503, 504].
- retry
Interval numberSeconds - The number of seconds to wait before retrying a request that failed due to rate limiting. Defaults to 10 seconds.
- token string
- API token for your dbt Cloud. Instead of setting the parameter, you can set the environment variable
DBT_CLOUD_TOKEN
It can also be sourced from the following environment variable:DBT_CLOUD_TOKEN
- account_
id int - Account identifier for your dbt Cloud implementation. Instead of setting the parameter, you can set the environment
variable
DBT_CLOUD_ACCOUNT_ID
It can also be sourced from the following environment variable:DBT_CLOUD_ACCOUNT_ID
- disable_
retry bool - If set to true, the provider will not retry requests that fail due to rate limiting. Defaults to false.
- host_
url str - URL for your dbt Cloud deployment. Instead of setting the parameter, you can set the environment variable
DBT_CLOUD_HOST_URL
- Defaults to https://cloud.getdbt.com/api It can also be sourced from the following environment variable:DBT_CLOUD_HOST_URL
- max_
retries int - The maximum number of retries to attempt for requests that fail due to rate limiting. Defaults to 3 retries.
- retriable_
status_ Sequence[str]codes - List of HTTP status codes that should be retried when encountered. Defaults to [429, 500, 502, 503, 504].
- retry_
interval_ intseconds - The number of seconds to wait before retrying a request that failed due to rate limiting. Defaults to 10 seconds.
- token str
- API token for your dbt Cloud. Instead of setting the parameter, you can set the environment variable
DBT_CLOUD_TOKEN
It can also be sourced from the following environment variable:DBT_CLOUD_TOKEN
- account
Id Number - Account identifier for your dbt Cloud implementation. Instead of setting the parameter, you can set the environment
variable
DBT_CLOUD_ACCOUNT_ID
It can also be sourced from the following environment variable:DBT_CLOUD_ACCOUNT_ID
- disable
Retry Boolean - If set to true, the provider will not retry requests that fail due to rate limiting. Defaults to false.
- host
Url String - URL for your dbt Cloud deployment. Instead of setting the parameter, you can set the environment variable
DBT_CLOUD_HOST_URL
- Defaults to https://cloud.getdbt.com/api It can also be sourced from the following environment variable:DBT_CLOUD_HOST_URL
- max
Retries Number - The maximum number of retries to attempt for requests that fail due to rate limiting. Defaults to 3 retries.
- retriable
Status List<String>Codes - List of HTTP status codes that should be retried when encountered. Defaults to [429, 500, 502, 503, 504].
- retry
Interval NumberSeconds - The number of seconds to wait before retrying a request that failed due to rate limiting. Defaults to 10 seconds.
- token String
- API token for your dbt Cloud. Instead of setting the parameter, you can set the environment variable
DBT_CLOUD_TOKEN
It can also be sourced from the following environment variable:DBT_CLOUD_TOKEN
Outputs
All input properties are implicitly available as output properties. Additionally, the Provider resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
- id string
- The provider-assigned unique ID for this managed resource.
- id str
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
Provider Resource Methods
TerraformConfig Method
This function returns a Terraform config object with terraform-namecased keys,to be used with the Terraform Module Provider.
Using TerraformConfig
terraformConfig(): Output<Provider.TerraformConfigResult>
def terraform_config() -> Output[Provider.Terraform_configResult]
func (r *Provider) TerraformConfig() (ProviderTerraformConfigResultOutput, error)
public Output<Provider.TerraformConfigResult> TerraformConfig()
TerraformConfig Result
- Result Dictionary<string, object>
- Result map[string]interface{}
- result Map<String,Object>
- result {[key: string]: any}
- result Mapping[str, Any]
- result Map<Any>
Package Details
- Repository
- dbtcloud pulumi/pulumi-dbtcloud
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
dbtcloud
Terraform Provider.