Skip to main content

Configuration for pulumi-buildkite.

npm package pulumi-buildkite version 1.36.5. Pulumi bridge terraform-provider version 1.4.0. Upstream provider registry.opentofu.org/buildkite/buildkite version 1.39.2.

An explicit provider is new buildkite.Provider(name, args). Stack configuration is a pulumi.Config object named buildkite.

A value marked secret is passed through pulumi.secret or listed in additionalSecretOutputs on the provider resource.

Fields#

PropertyTypeSourceSecretDescription
apiTokenstringprovider args; stack config via config.getyesAPI token with GraphQL access and writePipelines, readPipelines, writeSuites, readNotificationServices, and writeNotificationServices REST API scopes. You can generate a token from your settings page. If not provided, the value is taken from the BUILDKITE_API_TOKEN environment variable.
archivePipelineOnDeletebooleanprovider args; stack config via config.getObjectnoEnable this to archive pipelines when destroying the resource. This is opposed to completely deleting pipelines.
graphqlUrlstringprovider args; stack config via config.getnoBase URL for the GraphQL API to use. If not provided, the value is taken from the BUILDKITE_GRAPHQL_URL environment variable.
maxRetriesnumberprovider args; stack config via config.getObjectnoMaximum number of retry attempts for retryable HTTP requests. Defaults to 10. The waits between attempts count against the applicable timeouts value, so raising this alone does not necessarily produce more attempts.
organizationstringprovider args; stack config via config.getnoThe 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.
restUrlstringprovider args; stack config via config.getnoBase URL for the REST API to use. If not provided, the value is taken from the BUILDKITE_REST_URL environment variable.
timeoutsProviderTimeoutsprovider args; stack config via config.getObjectno

ProviderTimeouts#

Input object ProviderTimeouts. Fields below belong to this object, not to the parent.

PropertyTypeRequiredDescription
createstringnoA 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).
deletestringnoA 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.
readstringnoA 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.
updatestringnoA 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).

config.Timeouts#

Output object config.Timeouts. Fields below belong to this object.

PropertyTypeAlways presentDescription
createstringnoA 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).
deletestringnoA 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.
readstringnoA 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.
updatestringnoA 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).