{"id":21930059,"url":"https://github.com/aheissenberger/sam-dynamodb-create-table","last_synced_at":"2025-08-12T17:34:18.165Z","repository":{"id":56577122,"uuid":"299019272","full_name":"aheissenberger/sam-dynamodb-create-table","owner":"aheissenberger","description":"create dynamoDB tables based on an existing sam template.yaml file","archived":false,"fork":false,"pushed_at":"2023-04-19T20:35:46.000Z","size":52,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-16T09:01:34.460Z","etag":null,"topics":["aws","command-line","dynamodb"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/aheissenberger.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-09-27T11:41:25.000Z","updated_at":"2023-04-19T17:44:44.000Z","dependencies_parsed_at":"2022-08-15T21:20:22.403Z","dependency_job_id":null,"html_url":"https://github.com/aheissenberger/sam-dynamodb-create-table","commit_stats":null,"previous_names":["aheissenberger/sam-dyamodb-create-table"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aheissenberger%2Fsam-dynamodb-create-table","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aheissenberger%2Fsam-dynamodb-create-table/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aheissenberger%2Fsam-dynamodb-create-table/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aheissenberger%2Fsam-dynamodb-create-table/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/aheissenberger","download_url":"https://codeload.github.com/aheissenberger/sam-dynamodb-create-table/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249768861,"owners_count":21322973,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["aws","command-line","dynamodb"],"created_at":"2024-11-28T23:07:33.500Z","updated_at":"2025-04-19T18:53:07.380Z","avatar_url":"https://github.com/aheissenberger.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Create AWS dynamoDB Tables\n\nCLI tool to create AWS dynamoDB tables from a [AWS SAM](https://aws.amazon.com/de/serverless/sam/) (AWS Serverless Application Model) template.yaml file. This allows to use a local dynamoDB (e.g. [dynamodb-local](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/DynamoDBLocal.html) or [dynalite](https://github.com/mhart/dynalite)) for local development.\n\nIf the Table exists it will fail with `ERROR: ResourceInUseException`.\n\n## Quick Start\n\nif you locally started dynamodb on port 8000:\n\n`npx sam-dynamodb-create-table -e http://localhost:8000 -f template.yaml`\n\n## Install\n\n*global install*\n\n`npm i -g sam-dynamodb-create-table`\n\nprefered way to use is without installation with `npx`!\n\n## Usage\n\n`sam-dynamodb-create-table --help`\n\n```\nUsage: sam-dynamodb-create-table [options]\n\nOptions:\n  -d, --debug                     output extra debugging information\n  -c, --configuration \u003cfilename\u003e  configuration file - format JSON\n  -f, --file \u003cfilename\u003e           sam template.yaml (default: template.yaml)\n  -e, --endpoint \u003curl\u003e            dynamoDB endpoint url (default: http://localhost:8000)\n  -r, --region \u003cregion\u003e           AWS region (default: us-east-1)\n  --config-template               output JSON config template (default: false)\n  --table-name                    Table name if not provided by the template.yml or template.json\n  -h, --help                      display help for command\n```\n\n## Contributing\n\nPlease read [CONTRIBUTING.md](CONTRIBUTING.md) for details on our code of conduct, and the process for submitting pull requests to us.\n\n## Versioning\n\nWe use [SemVer](http://semver.org/) for versioning. \n\n## Changes\n\n* **2023-04-18\n  - upgrade to AWS-SDK Version 3\n  - add support for Cloudformation files\n  - add some transformations to fix errors when deployed to a local dynamoDB server\n    - fix: set ProvisionedThroughput to 1/1\n    - fix: set GlobalSecondaryIndexes / ProvisionedThroughput to 1/1\n    - fix: convert GlobalSecondaryIndexes.Projection from string to object\n\n## Authors\n\n* **Andreas Heissenberger** - *Initial work* - [Github](https://github.com/aheissenberger) | [Heissenberger Laboratory](https://www.heissenberger.at)\n\n\n## License\n\nThis project is licensed under the MIT License - see the [LICENSE.md](LICENSE.md) file for details\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faheissenberger%2Fsam-dynamodb-create-table","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faheissenberger%2Fsam-dynamodb-create-table","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faheissenberger%2Fsam-dynamodb-create-table/lists"}