1. Packages
  2. Buildkite
  3. API Docs
  4. Provider
Viewing docs for Buildkite v3.2.0
published on Monday, Feb 23, 2026 by Pulumiverse
buildkite logo
Viewing docs for Buildkite v3.2.0
published on Monday, Feb 23, 2026 by Pulumiverse

    The provider type for the buildkite 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,
                 api_token: Optional[str] = None,
                 archive_pipeline_on_delete: Optional[bool] = None,
                 graphql_url: Optional[str] = None,
                 max_retries: Optional[int] = None,
                 organization: Optional[str] = None,
                 rest_url: Optional[str] = None,
                 timeouts: Optional[ProviderTimeoutsArgs] = 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:buildkite
    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:

    ApiToken string
    ArchivePipelineOnDelete bool
    Enable this to archive pipelines when destroying the resource. This is opposed to completely deleting pipelines.
    GraphqlUrl string
    Base URL for the GraphQL API to use. If not provided, the value is taken from the BUILDKITE_GRAPHQL_URL environment variable.
    MaxRetries int
    Maximum number of retry attempts for retryable HTTP requests. Defaults to 10.
    Organization string
    The Buildkite organization slug. This can be found on the settings page. If not provided, the value is taken from the BUILDKITE_ORGANIZATION_SLUG environment variable.
    RestUrl string
    Base URL for the REST API to use. If not provided, the value is taken from the BUILDKITE_REST_URL environment variable.
    Timeouts Pulumiverse.Buildkite.Inputs.ProviderTimeouts
    ApiToken string
    ArchivePipelineOnDelete bool
    Enable this to archive pipelines when destroying the resource. This is opposed to completely deleting pipelines.
    GraphqlUrl string
    Base URL for the GraphQL API to use. If not provided, the value is taken from the BUILDKITE_GRAPHQL_URL environment variable.
    MaxRetries int
    Maximum number of retry attempts for retryable HTTP requests. Defaults to 10.
    Organization string
    The Buildkite organization slug. This can be found on the settings page. If not provided, the value is taken from the BUILDKITE_ORGANIZATION_SLUG environment variable.
    RestUrl string
    Base URL for the REST API to use. If not provided, the value is taken from the BUILDKITE_REST_URL environment variable.
    Timeouts ProviderTimeoutsArgs
    apiToken String
    archivePipelineOnDelete Boolean
    Enable this to archive pipelines when destroying the resource. This is opposed to completely deleting pipelines.
    graphqlUrl String
    Base URL for the GraphQL API to use. If not provided, the value is taken from the BUILDKITE_GRAPHQL_URL environment variable.
    maxRetries Integer
    Maximum number of retry attempts for retryable HTTP requests. Defaults to 10.
    organization String
    The Buildkite organization slug. This can be found on the settings page. If not provided, the value is taken from the BUILDKITE_ORGANIZATION_SLUG environment variable.
    restUrl String
    Base URL for the REST API to use. If not provided, the value is taken from the BUILDKITE_REST_URL environment variable.
    timeouts ProviderTimeouts
    apiToken string
    archivePipelineOnDelete boolean
    Enable this to archive pipelines when destroying the resource. This is opposed to completely deleting pipelines.
    graphqlUrl string
    Base URL for the GraphQL API to use. If not provided, the value is taken from the BUILDKITE_GRAPHQL_URL environment variable.
    maxRetries number
    Maximum number of retry attempts for retryable HTTP requests. Defaults to 10.
    organization string
    The Buildkite organization slug. This can be found on the settings page. If not provided, the value is taken from the BUILDKITE_ORGANIZATION_SLUG environment variable.
    restUrl string
    Base URL for the REST API to use. If not provided, the value is taken from the BUILDKITE_REST_URL environment variable.
    timeouts ProviderTimeouts
    api_token str
    archive_pipeline_on_delete bool
    Enable this to archive pipelines when destroying the resource. This is opposed to completely deleting pipelines.
    graphql_url str
    Base URL for the GraphQL API to use. If not provided, the value is taken from the BUILDKITE_GRAPHQL_URL environment variable.
    max_retries int
    Maximum number of retry attempts for retryable HTTP requests. Defaults to 10.
    organization str
    The Buildkite organization slug. This can be found on the settings page. If not provided, the value is taken from the BUILDKITE_ORGANIZATION_SLUG environment variable.
    rest_url str
    Base URL for the REST API to use. If not provided, the value is taken from the BUILDKITE_REST_URL environment variable.
    timeouts ProviderTimeoutsArgs
    apiToken String
    archivePipelineOnDelete Boolean
    Enable this to archive pipelines when destroying the resource. This is opposed to completely deleting pipelines.
    graphqlUrl String
    Base URL for the GraphQL API to use. If not provided, the value is taken from the BUILDKITE_GRAPHQL_URL environment variable.
    maxRetries Number
    Maximum number of retry attempts for retryable HTTP requests. Defaults to 10.
    organization String
    The Buildkite organization slug. This can be found on the settings page. If not provided, the value is taken from the BUILDKITE_ORGANIZATION_SLUG environment variable.
    restUrl String
    Base URL for the REST API to use. If not provided, the value is taken from the BUILDKITE_REST_URL environment variable.
    timeouts Property Map

    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>

    Supporting Types

    ProviderTimeouts, ProviderTimeoutsArgs

    Create string
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
    Delete string
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
    Read string
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Read operations occur during any refresh or planning operation when refresh is enabled.
    Update string
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
    Create string
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
    Delete string
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
    Read string
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Read operations occur during any refresh or planning operation when refresh is enabled.
    Update string
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
    create String
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
    delete String
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
    read String
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Read operations occur during any refresh or planning operation when refresh is enabled.
    update String
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
    create string
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
    delete string
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
    read string
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Read operations occur during any refresh or planning operation when refresh is enabled.
    update string
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
    create str
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
    delete str
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
    read str
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Read operations occur during any refresh or planning operation when refresh is enabled.
    update str
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
    create String
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
    delete String
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
    read String
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Read operations occur during any refresh or planning operation when refresh is enabled.
    update String
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).

    Package Details

    Repository
    buildkite pulumiverse/pulumi-buildkite
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the buildkite Terraform Provider.
    buildkite logo
    Viewing docs for Buildkite v3.2.0
    published on Monday, Feb 23, 2026 by Pulumiverse
      Try Pulumi Cloud free. Your team will thank you.