I've some services running on google cloud functions which need to connect to an endpoint on AWS. Since there is no fixed set of IPs which I can whitelist, can you share your thoughts on how best this can be dealt with? I understand the ips can be listed as explained here, but please share thoughts on dynamically dealing with this/monitor the ip change.
Amazon provides sns topic which can be subscribed to which lists all AWS IPs and we have use cases where we used lambda function subscribed to their sns topic to keep our security group up to date. but trying to figure whats the best way to deal with google for similar need.