Skip to content

ocp4_workload_authentication_rosa - non deterministic delete of Cognito user pool #7230

@willgarcia

Description

@willgarcia

Describe the bug
This task

aws cognito-idp list-user-pools --max-results 1 | jq -r .UserPools[0].Id

can delete Cognito User Pools not provisioned by AgnosticD since the first one is retrieved from the list of pools.

This is a problem when prior User pools exist because pools get deleted "randomly" during deployment.

Expected behavior
The user pool to be deleted (and provisioned by AgnosticD) is determined based on name or tag. Then it is deleted by ID.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions