How to fetch AWS Elastic IP quota(limit) and find out how many IP elastic addresses my terraform script can create
I am fairly new to AWS CLI. I am trying to find out the limit(quota) of elastic IP addresses for a region(e.g. us-east-1). From that limit, how many have been used and how many are remaining for my terraform script to use. I need to use this to conditionalise the further flow. Need help. Right now I have tried to use the below but it gives me wrong answer.