diff --git a/aws/credentials/stscreds/assume_role_provider_test.go b/aws/credentials/stscreds/assume_role_provider_test.go index 14e35de70dd..4c0212a01d4 100644 --- a/aws/credentials/stscreds/assume_role_provider_test.go +++ b/aws/credentials/stscreds/assume_role_provider_test.go @@ -102,7 +102,7 @@ func TestAssumeRoleProvider_WithTokenProviderError(t *testing.T) { RoleARN: "roleARN", SerialNumber: aws.String("0123456789"), TokenProvider: func() (string, error) { - return "", fmt.Errorf("error occured") + return "", fmt.Errorf("error occurred") }, } diff --git a/aws/session/session.go b/aws/session/session.go index 7ccb9d93096..5263c651007 100644 --- a/aws/session/session.go +++ b/aws/session/session.go @@ -157,7 +157,7 @@ type Options struct { // credentials need to be refreshed. Within the context of service clients // all sharing the same session the SDK will ensure calls to the token // provider are atomic. When sharing a token provider across multiple - // sessions additional syncronization logic is needed to ensure the + // sessions additional synchronization logic is needed to ensure the // token providers do not introduce race conditions. It is recommend to // share the session where possible. //