Skip to content

Partial string matching on resource values? #506

Open
@diranged

Description

@diranged

What would you like to be added:
I found it pretty surprising that I couldn't do partial string matching (regex or wildcard) on the values in created resources.

Why is this needed:
When working with custom resources like XRDs in Crossplane, I find it difficult to validate certain kinds of dynamic resources because they fundamentally change the return values.. for example, verifying that my Role resource has a status.roleArn field that matches arn:aws:iam:.... The role ARN changes on every test, but fundamentally my goal is to verify that a value was put in there and that it's not empty.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions