Skip to content

Bypassing the CallerIdentity validation for running tests  #1421

@grameshtwilio

Description

@grameshtwilio

Is your feature request related to a problem?
I would like to test some of the ACK controllers with my localstack environment where I pass test credentials to the controller as environment variables. However, the controller errors at this line

Describe the solution you'd like
If a config variable such as AWS_ACCOUNT_ID is set, then the GetCallerIdentity validation is skipped.

Describe alternatives you've considered
Any alternate suggestion to achieve the same goal is perfect

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/runtimeIssues or PRs as related to controller runtime, common reconciliation logic, etckind/enhancementCategorizes issue or PR as related to existing feature enhancements.lifecycle/rottenDenotes an issue or PR that has aged beyond stale and will be auto-closed.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions