ec3-user-data

0.0.1 • Public • Published

ec-user-data

A very simple library to access user-data on EC2 machines (or a configuration file called ${HOME}\.deployer.json everywhere else).

This library first check of the existence of a file called ${HOME}\.deployer.json. If this file exists, the content of the file is parsed and, if the file contains valid JSON, the content is returned.

If there is no ${HOME}\.deployer.json, the library tries to access AWS Instance Metadata. In particular, this library accesses information passed using the user-data field that can be passed when launching an instance.

Example:

ec-user-data

License

MIT License

Readme

Keywords

none

Package Sidebar

Install

npm i ec3-user-data

Weekly Downloads

2

Version

0.0.1

License

none

Last publish

Collaborators

  • jfk