An open API service indexing awesome lists of open source software.

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

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
```