I'd like to expand my serverless application to the second aws region, so that it works in active-active model.
Currently I have a public api-gateway secured with WAF.
I'd like to add a cloudfront distribution in front of that api-gateway and then add the second api-gateway deployed to another region as an origin.
I've created a POC and can see that the requests coming from cloudfront are blocked by WAF.
I know I can use api-key, custom header for authenticating cloudfront distribution to waf/api-gateway but maybe there's another more elegant solution for this?
Appreciate any help. Thanks!