Merged all 'set-X' commands into a single 'set-attr' command

This commit is contained in:
Leon Mika 2022-07-16 10:05:48 +10:00
parent 716adbdce5
commit 9fee17a6a6
9 changed files with 317 additions and 43 deletions

View file

@ -28,7 +28,7 @@ func SetupTestTable(t *testing.T, testData []TestData) (*dynamodb.Client, func()
assert.NoError(t, err)
dynamoClient := dynamodb.NewFromConfig(cfg,
dynamodb.WithEndpointResolver(dynamodb.EndpointResolverFromURL("http://localhost:18000")))
dynamodb.WithEndpointResolver(dynamodb.EndpointResolverFromURL("http://localhost:4566")))
for _, table := range testData {
_, err = dynamoClient.CreateTable(ctx, &dynamodb.CreateTableInput{