Skip to content

Commit

Permalink
fix(aws.go): add support for AWS GovCloud (#102)
Browse files Browse the repository at this point in the history
Update regex to support running in AWS GovCloud, fixes #101
  • Loading branch information
jamessevener authored Dec 2, 2024
1 parent 66cc9e1 commit fcee384
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion aws.go
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ var awsSession *session.Session

const (
// Matching strings for region
regexpAWSRegion = `^[\w]{2}[-][\w]{4,9}[-][\d]$`
regexpAWSRegion = `^[\w]{2}[-][\w]{4,9}[-][\d]$|^[\w]{2}[-][\w]{3}[-][\w]{4,9}[-][\d]$`
)

// Client efs interface
Expand Down

0 comments on commit fcee384

Please sign in to comment.