IBM Cloud Docs
FAQs for toolchains

FAQs for toolchains

Get answers to frequently asked questions about using toolchains.

Why does the Toolchains page show that the Continuous Delivery service Lite plan is exceeded?

Continuous Delivery offers two plans: Lite and Professional. If you have the Continuous Delivery Lite plan, you can use toolchains for free, up to the limits of the plan. The error message indicates that you exceeded one or more limits of the Lite plan. For example, you might exceed the plan if you have too many authorized users who are associated with the Continuous Delivery service instance, or if you ran the maximum number of Delivery Pipeline jobs. For more information about the terms of your plan, see Plan limitations and usage.

I created a toolchain, why does the Toolchains page show that a Continuous Delivery service is required?

The terms of the plan for the Continuous Delivery service instance that is in the same resource group as the toolchain manages the use of some of the tool integrations (Delivery Pipeline and Git Repos and Issue Tracking) that are contained in the service. The error message indicates that the resource group doesn't contain the required instance of the Continuous Delivery service. For more information about the terms of your plan, see Plan limitations and usage.

Can I create a toolchain instance from a template programmatically?

You can directly call the toolchain creation page endpoint to pass all of the parameter values. For more information about these parameters, see Toolchain Creation Page Parameters.

Do I need a separate toolchain instance for each piece of work that my team owns?

You can define multiple pipelines within a single toolchain. However, if these pieces of work are unrelated and only share a definition repo, you can create them in separate toolchains so that you can administer them separately.

Can I create a toolchain template and then use it to create a toolchain for each piece of work that my team owns?

Creating a custom template is more work, but it ensures that all of your toolchains have the same structure. By using a template, you can quickly add toolchains in the future. If you’re creating only a few toolchains and a standard template exists that is similar to what you need, use that template and customize your toolchains after they are created.

I created a toolchain template that specified a particular tag and then created toolchains from that template. If I edit my template to change the tag are my toolchains updated with that tag?

Because the template doesn't link to the toolchains that were created from it, toolchains that were created from the original template are not updated with the new tag.

Why does the Toolchains page show that a Continuous Delivery service is required?

Toolchains in a resource group must be accompanied by an instance of the Continuous Delivery service in the same resource group. The error message indicates that the resource group does not contain an instance of the Continuous Delivery service. To resolve this error, create an instance of the Continuous Delivery service in the resource group. For more information about this requirement, see Plan limitations and usage.

How do I find my toolchain ID?

You can find your toolchain ID in the URL of your selected toolchain tool. For more information, see Identifying your toolchain ID.

Can I manage toolchains by using Terraform?

You can use Terraform to create, read, update, and delete toolchains and tool integrations. For more information about using Terraform with toolchains, see Creating a toolchain with Terraform, Deleting a toolchain with Terraform, Working with tool integrations, and the ibm_cd_toolchain resources documentation.

Can I manage toolchains by using an API?

You can use HTTP APIs or selected programming language SDKs to create, read, update, and delete toolchains and tool integrations. For more information about using toolchains and tool integrations with the API, see Creating a toolchain with the API, Deleting a toolchain with the API, Working with tool integrations, and the CD Toolchain API docs.

Can I use the console, APIs, or CLI to modify resources that are managed by Terraform?

When you use Terraform to manage resources such as Continuous Delivery service instances, toolchains, and Tekton pipelines, avoid changing the resources by using the console, APIs, or CLI, or by any other method outside of Terraform's control.

If you circumvent Terraform by directly changing resources, you might cause resource drift, a situation in which the states of your actual resources on IBM Cloud deviate from the definition of the resources in Terraform. The next time that you apply the Terraform configuration, Terraform attempts to update your resources to align them with the Terraform configuration. This action might lead to unintended consequences, such as reverting changes or deleting and then re-creating resources.

For more information about resource drift, see Manage Resource Drift.