Skip to content

Race condition in test runs #568

@shemau

Description

@shemau

Affected modules

  • terraform-ibm-icd-redis
  • (possibly) terraform-ibm-icd-*

The PR cycles generated by renovate reported

 2025/04/13 11:49:43 Terraform apply |   CreateSecretGroupWithContext failed: request_id: '1c9658ee-b3a8-2770-cee3-c4e3a5f093ad' path: 'manage/v2/groups' operation: 'create' a secret group with name 'dev-redis-secrets' already exists. [secrets-manager.04126E]

This suggests that two tests (or the same test in two runs) encountered a race condition of the secrets manager secret group name. For testing purposes the prefix passed in should not be allowed to default to dev.

This occurred during TestRunStandardSolutionSchematics at https://github.com/terraform-ibm-modules/terraform-ibm-icd-redis/actions/runs/14428928531/job/40461505341#step:7:2724

Terraform CLI and Terraform provider versions

  • Terraform version:
  • Provider version:

Terraform output

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

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions