skybet/aws-arn

Incorrect parsing of DynamoDB stream ARNs

Opened this issue · 0 comments

DynamoDB stream ARNs have an ISO8601 timestamp in the resource, which is parsed incorrectly:
example:

arn:aws:dynamodb:us-east-1:123456789012:table/testddbstack-myDynamoDBTable-012A1SL7SMP5Q/stream/2015-11-30T20:10:00.000

parses as:

{:partition "aws",
 :service "dynamodb",
 :region "us-east-1",
 :account-id "123456789012",
 :resource-type "table/testddbstack-myDynamoDBTable-012A1SL7SMP5Q/stream/2015-11-30T20",
 :resource "10"}

Not entirely sure what it should parse as.