Skip to content

Pipeline properties fail to create #104

Open
@in-1911

Description

@in-1911

When the module is deployed as a part of the RAG DA stack and a new CD service instance is requested (create_continuous_delivery_service_instance = true), creation of several ibm_cd_tekton_pipeline_property resources fails as apparently it expects a Continuous Delivery service.

This happens if the ALM deployment (where the toolchains are created) is more than 14 days old and the App Configuration DA is undeployed and deployed again. In that case the CD instance (provisioned in this module) is destroyed therefore making the toolchains inoperable. Even though a new CD instance is being planned / provisioned, since there is no dependency in ibm_cd_tekton_pipeline_property on the CD instance, the pipeline property creation fails.
ci_pipeline_webhook creation fails as well.

The module may have to fetch the existing CD instance if create_continuous_delivery_service_instance = false and use either that or the created CD instance as a dependency for the pipeline properties and webhooks.

Affected modules

solutions/banking/main.tf
Release: 2.0.1

Terraform CLI and Terraform provider versions

  • Terraform version:
  • Provider version:

Terraform output

See redacted project deploy log

Debug output

Expected behavior

Actual behavior

Steps to reproduce (including links and screen captures)

  1. Run terraform apply

Anything else


By submitting this issue, you agree to follow our Code of Conduct

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions