diff --git a/pkg/awsv4/signer.go b/pkg/awsv4/signer.go index 73bda23..aa63c37 100644 --- a/pkg/awsv4/signer.go +++ b/pkg/awsv4/signer.go @@ -38,7 +38,7 @@ import ( ) var ( - urlRgx = regexp.MustCompile(`^https://git-codecommit\.(.*)\.(amazonaws\.com|amazonaws\.com\.cn)/v1/repos/.*$`) + urlRgx = regexp.MustCompile(`^https://(git-codecommit|git-codecommit-fips)\.(.*)\.(amazonaws\.com|amazonaws\.com\.cn)/v1/repos/.*$`) ) // Signer implements the AWS authenticated V4 Signature Specification for