also override iam region for signing requests
All checks were successful
AWS-Zig Build / build-zig-amd64-host (push) Successful in 1m29s

This commit is contained in:
Emil Lerch 2024-08-23 14:49:19 -07:00
parent 43238a97eb
commit 9e8198cee4
Signed by: lobo
GPG Key ID: A7B62D657EF764F8

View File

@ -251,6 +251,7 @@ pub const AwsHttp = struct {
fn getRegion(service: []const u8, region: []const u8) []const u8 {
if (std.mem.eql(u8, service, "cloudfront")) return "us-east-1";
if (std.mem.eql(u8, service, "iam")) return "us-east-1";
return region;
}