https://github.com/dfpc-coe/ecr
Create and Manage ECR Repositories via CloudFormation
https://github.com/dfpc-coe/ecr
Last synced: about 1 month ago
JSON representation
Create and Manage ECR Repositories via CloudFormation
- Host: GitHub
- URL: https://github.com/dfpc-coe/ecr
- Owner: dfpc-coe
- Created: 2022-12-29T01:31:30.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2024-12-25T04:58:42.000Z (over 1 year ago)
- Last Synced: 2024-12-25T05:36:46.657Z (over 1 year ago)
- Language: JavaScript
- Size: 115 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
Awesome Lists containing this project
README
TAK ECR
Create and Manage ECR Repositories with CloudFormation
## Notes
- By default AWS Lambda is given full deploy access to use images from ECRs created with this repo
## Installation
Local installation can be performed via the following
```sh
npm install
```
## AWS Deployment
From the root directory, install the deploy dependencies
```sh
npm install
```
Deployment to AWS is handled via AWS Cloudformation. The template can be found in the `./cloudformation`
directory. The deployment itself is performed by [Deploy](https://github.com/openaddresses/deploy) which
was installed in the previous step.
The deploy tool can be run via the following
```sh
npx deploy
```
To install it globally - view the deploy [README](https://github.com/openaddresses/deploy)
Deploy uses your existing AWS credentials. Ensure that your `~/.aws/credentials` has an entry like:
```
[coegc]
aws_access_key_id =
aws_secret_access_key =
```
Deployment can then be performed via the following:
```
npx deploy create
```
```
npx deploy update
```
```
npx deploy info --outputs
```
```
npx deploy info --parameters
```
Stacks can be created, deleted, cancelled, etc all via the deploy tool. For further information
information about `deploy` functionality run the following for help.
```sh
npx deploy
```
Further help about a specific command can be obtained via something like:
```sh
npx deploy info --help
```