Autosave: 2024-06-22 10:45:04
This commit is contained in:
parent
65a4efc2f2
commit
4222dce14d
2 changed files with 25 additions and 0 deletions
BIN
.zk/notebook.db
BIN
.zk/notebook.db
Binary file not shown.
25
zk/DynamoDB_CLI_commands.md
Normal file
25
zk/DynamoDB_CLI_commands.md
Normal file
|
@ -0,0 +1,25 @@
|
|||
---
|
||||
id: l045
|
||||
title: DynamoDB CLI commands
|
||||
tags: [AWS, databases, dynamodb]
|
||||
created: Saturday, June 22, 2024
|
||||
---
|
||||
|
||||
# DynamoDB CLI commands
|
||||
|
||||
## Connecting to a local (Docker) DynamoDB instance
|
||||
|
||||
In order to distinguish between local and production accounts you should keep
|
||||
seperate configs in `.aws/config` and `.aws/credentials`. Then specify the
|
||||
profile if you are working locally and the local URL. Without the `--profile`
|
||||
flag, AWS will default to the `default` profile which will typically be your
|
||||
credentials for accessing AWS on the remote.
|
||||
|
||||
```sh
|
||||
aws dynamodb list-tables --profile timetracking_dev --endpoint-url
|
||||
http://localhost:800
|
||||
```
|
||||
|
||||
http://localhost:8000
|
||||
|
||||
## Related notes
|
Loading…
Add table
Reference in a new issue