You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you are trying to use the lamda with non-vpc IP address the AWS api/boto3 will fail with the following error
[ERROR] 2022-11-19T18:50:05.007Z 75a3e5b4-4302-4493-9824-539647241114 The Availability Zone is required for IP address '172.25.18.11' because it is not in the VPC
To resolve you need to specify the AZ in the render_list function. This should prob be added as an option param in the formation template
defrender_list(ip_list):
""" Render a list of targets for registration/deregistration """target_list= []
foripinip_list:
target= {
'Id': ip,
'AvailabilityZone': 'all'
}
target_list.append(target)
returntarget_list
The text was updated successfully, but these errors were encountered:
If you are trying to use the lamda with non-vpc IP address the AWS api/boto3 will fail with the following error
To resolve you need to specify the AZ in the
render_list
function. This should prob be added as an option param in the formation templateThe text was updated successfully, but these errors were encountered: