spring-data-dynamodb
spring-data-dynamodb copied to clipboard
Not authorized to perform: dynamodb:PutItem on resource in EKS
Expected Behavior
Actual Behavior
User: arn:aws:sts:: All those information are logged by (Service: AmazonDynamoDBv2; Status Code: 400; Error Code: AccessDeniedException; Request ID: A400G97E6PDN6AOU3OEOH1O5AEMVJF66Q9ASUAAJG
Steps to Reproduce the Problem
Specifications
org.socialsignin.spring.data.dynamodb.repository.support.DynamoDBRepositoryFactory
on INFO
level on startup.
Or use java -version
and mvn dependency:tree | grep -E 'spring|aws'
to provide those version numbers.
Same code is working fine when change to "com.github.derjust:spring-data-dynamodb" with older spring boot version...
- even older spring boot version getting error for "io.github.boostchicken:spring-data-dynamodb"
I suspect may be table prefix have issue.. Can any one confirm how to handle table prefix in "io.github.boostchicken:spring-data-dynamodb"
public static class TableNameResolver extends DynamoDBMapperConfig.DefaultTableNameResolver