Gov cloud wont be affected by this because its just different region names, but still the amazonaws.com domain. I just submitted a draft PR that i think will resolve the issue, [Filebeat] Fix hardcoded amazonaws.com endpoint by legoguy1000 · Pull Request #24861 · elastic/beats · GitHub.