You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To build and run this cmd, you'll need go (1.11.x) with mod support enabled `export GO111MODULE=on`
10
-
11
-
### Running
12
-
To run:
13
-
```
14
-
go run cmd/main.go
15
-
```
16
-
Alternatively, you can easily build the binary by:
17
-
```
18
-
go build -o dynamodbcopy cmd/main.go
19
-
```
9
+
Dynamodbcopy is a cli tool wrapper around the [aws-sdk](https://github.com/aws/aws-sdk-go) that allows you to copy information from one dynamodb table to another.
10
+
11
+
## Main Features
12
+
13
+
- Provides a CLI to easily copy dynamodb records from one place to another
14
+
- Allows you to set read and write capacity units for the source and target table
15
+
- Integrates with [aws-sdk](https://github.com/aws/aws-sdk-go), sharing it's credentials
16
+
- Allows you to parameterize the source and target table with specific roles, enabling you to perform cross-account copies
17
+
- Stores current provisioning values before performing a copy, restoring the inital values at the end of the copy or if any error occurs during the copy.
18
+
19
+
## Usage
20
+
21
+
> Use "dynamodbcopy [command] --help" for more information about a command.
22
+
23
+
## Installing
24
+
25
+
Use go get to retrieve `dynamodbcopy` to add it to your GOPATH workspace, or project's Go module dependencies.
26
+
27
+
> go get github.com/uniplaces/dynamodbcopy/cmd/dynamodbcopy
28
+
29
+
To update run with `-u`
30
+
31
+
> go get -u github.com/uniplaces/dynamodbcopy/cmd/dynamodbcopy
32
+
33
+
### Go Modules
34
+
35
+
If you are using Go modules, your go get will default to the latest tagged version. To get a specific release version of the `dynamodbcopy` use `@<tag>` in your go get command.
To get the latest repository change use `@latest` tag.
40
+
41
+
> go get github.com/uniplaces/dynamodbcopy/cmd/dynamodbcopy@latest
42
+
43
+
## Opening Issues
44
+
45
+
If you encounter a bug, please start by searching the existing issues and see if others are also experiencing the issue before opening a new one. Please include the version for `dynamodbcopy` and Go that you are using. Please also include reproduction case when appropriate.
46
+
47
+
## Contributing
48
+
49
+
Please feel free to make suggestions, create issues, fork the repository and send pull requests!
50
+
51
+
## Licence
52
+
53
+
Copyright 2018 UNIPLACES
54
+
55
+
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
56
+
57
+
http://www.apache.org/licenses/LICENSE-2.0
58
+
59
+
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
0 commit comments