generated from terraform-ibm-modules/terraform-ibm-module-template
-
Notifications
You must be signed in to change notification settings - Fork 3
Closed
Labels
Description
Catalog validation (which uses these values) failed with this when trying to validate v1.24.0 of the DA:
2024/12/03 20:33:58 Terraform plan | Error: Invalid count argument
2024/12/03 20:33:58 Terraform plan |
2024/12/03 20:33:58 Terraform plan | on ../../main.tf line 89, in resource "ibm_iam_authorization_policy" "backup_kms_policy":
2024/12/03 20:33:58 Terraform plan | 89: count = local.create_backup_kms_policy ? 1 : 0
2024/12/03 20:33:58 Terraform plan |
2024/12/03 20:33:58 Terraform plan | The "count" value depends on resource attributes that cannot be determined
2024/12/03 20:33:58 Terraform plan | until apply, so Terraform cannot predict how many instances will be created.
A regression must have been introduced in #336. We also must have a test gap in our PR tests since it didn't catch it. We should try plug that too