This repository was archived by the owner on Jun 17, 2025. It is now read-only.
generated from terraform-ibm-modules/terraform-ibm-module-template
-
Notifications
You must be signed in to change notification settings - Fork 1
ICD edb encryption test failed due to mismatching key index in renovate pipelines #323
Copy link
Copy link
Closed
Labels
Description
Affected modules
- terraform-ibm-icd-edb
Terraform CLI and Terraform provider versions
- Terraform version:
- Provider version:
Terraform output
TestRunUpgradeCompleteExample 2025-02-08T04:43:12Z logger.go:67: │ Error: Invalid index
TestRunUpgradeCompleteExample 2025-02-08T04:43:12Z logger.go:67: │
TestRunUpgradeCompleteExample 2025-02-08T04:43:12Z logger.go:67: │ on main.tf line 103, in module "enterprise_db":
TestRunUpgradeCompleteExample 2025-02-08T04:43:12Z logger.go:67: │ 103: kms_key_crn = module.key_protect_all_inclusive.keys["icd-edb.${var.prefix}-edb"].crn
TestRunUpgradeCompleteExample 2025-02-08T04:43:12Z logger.go:67: │ ├────────────────
TestRunUpgradeCompleteExample 2025-02-08T04:43:12Z logger.go:67: │ │ module.key_protect_all_inclusive.keys is object with 2 attributes
TestRunUpgradeCompleteExample 2025-02-08T04:43:12Z logger.go:67: │ │ var.prefix is "edb-upg-jrkvwc"
TestRunUpgradeCompleteExample 2025-02-08T04:43:12Z logger.go:67: │
TestRunUpgradeCompleteExample 2025-02-08T04:43:12Z logger.go:67: │ The given key does not identify an element in this collection value.This error has been experienced in other repos. It is an error in a KMS key index on the main branch. The fix will likely to have to be run without an upgrade test, because main can not be deployed to perform the upgrade.
Debug output
Expected behavior
Actual behavior
Steps to reproduce (including links and screen captures)
- Run
terraform apply
Anything else
By submitting this issue, you agree to follow our Code of Conduct