Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MWAA verify_env script doesn't correctly identify available endpoints #204

Open
daniel-bowman-nationwide opened this issue Jun 30, 2022 · 0 comments

Comments

@daniel-bowman-nationwide

vpc_endpoints = [endpoint for endpoint in vpc_endpoints if all(subnet in s_ids for subnet in

In the above line of code the all() method causes the endpoint identification to fail if the endpoint is attached to more subnets than the environment is attached to. The correct approach would be to subtract the subnets the endpoint has from the subnets the environment has and ensure there are none remaining for the environment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant