1.3.0 • Published 1 year ago

create-ream-entrypoint v1.3.0

Weekly downloads
-
License
MIT
Repository
-
Last release
1 year ago

create-ream-entrypoint

This is a simple CLI aiming to help creating a entrypoint for your dockerfiles that injects environment variables from AWS Secrets Manager

Dependencies

You must have installed the aws-cli and configured your aws-credentials in order to run it from your local environment, also, you must have the npx tool instaled (it comes for default when you install npm with nodejs and so on)

Your project must have a Dockerfile (or dockerfile) containing at least a FROM, COPY, RUN, CMD commands (all of the four) to be considered a project that can be migrated to the entrypoint pattern

NOTE: It can change in the future, as this pattern is being defined as we talk here (02/28/2023)

Usage

First, execute the command npx --yes create-ream-entrypoint@latest on the folder you want to create the entrypoint, after that, it is done!

Simple as that

NOTE: Is considered that your project does have a JSON entry at AWS Secrets Manager service, and the name of the secret bundle is the name of your project, example: Image containing some secrets

Currently Supported Project Shapes

NodeJS/Javascript/Typescript/ECMAScript Environment

Supported by infeering the project by checking the existence of the package.json file

Python

Supported by infeering the project by checking the existence of the requirements.txt file

PYTHON: Currently, as python projects do not have explicit files containing the project name, you must inform the name on the prompt (by default, the current folder name)

1.3.0

1 year ago

1.2.4

1 year ago

1.2.3

1 year ago

1.2.1

1 year ago

1.2.0

1 year ago

1.1.0

1 year ago

1.0.10

1 year ago

1.0.9

1 year ago

1.0.8

1 year ago

1.0.7

1 year ago

1.0.6

1 year ago

1.0.5

1 year ago

1.0.4

1 year ago

1.0.3

1 year ago

1.0.2

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago