Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
alehuo committed Dec 16, 2024
1 parent 5fa47c6 commit f2795cb
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import com.typesafe.config.Config
import fi.oph.koski.config.Environment
import fi.oph.koski.log.Logging
import software.amazon.awssdk.auth.credentials.{AwsBasicCredentials, StaticCredentialsProvider}
import software.amazon.awssdk.regions.Region
import software.amazon.awssdk.services.dynamodb.DynamoDbClient

object AuditLogDynamoDB extends Logging {
Expand All @@ -18,6 +19,7 @@ object AuditLogDynamoDB extends Logging {
} else {
val client = DynamoDbClient.builder()
.endpointOverride(new java.net.URI("http://localhost:8000"))
.region(Region.EU_WEST_1)
.credentialsProvider(StaticCredentialsProvider.create(AwsBasicCredentials.create("mock", "mock")))
.build()

Expand Down

0 comments on commit f2795cb

Please sign in to comment.