Skip to content

Commit

Permalink
added additional message when no enis
Browse files Browse the repository at this point in the history
  • Loading branch information
Palmisano committed Mar 21, 2021
1 parent 4da2183 commit 8c199c3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions MWAA/verify_env/verify_env.py
Original file line number Diff line number Diff line change
Expand Up @@ -786,6 +786,7 @@ def check_connectivity_to_dep_services(input_env, input_subnets, ec2_client, ssm
enis = get_enis(subnet_ids, vpc, security_groups)
if not enis:
print("no enis found for MWAA, exiting test for ", service)
print("please try accessing the airflow UI and trying running this script again")
break
eni = list(enis.values())[0]
interface_ip = ec2_client.describe_network_interfaces(
Expand Down

0 comments on commit 8c199c3

Please sign in to comment.