Security News
tea.xyz Spam Plagues npm and RubyGems Package Registries
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
eb-deploy-cli
Advanced tools
Readme
A very simple AWS Elastic Beanstalk deployment CLI
eb-deploy-cli is a command line utility for Node.js that helps you helps you upload and deploy new application versions for AWS Elastic Beanstalk applications.
Because this CLI requires AWS credentials, it is highly recommended that you view the source code to ensure that your tokens are safe and sound.
Install as a devDependency:
npm install -D eb-deploy-cli
Run the command:
./node_modules/.bin/eb-deploy \
--source="./my-app.zip" \
--label="v1.0.0" \
--accessKeyId="XXXXXXXXXX" \
--secretAccessKey="XXXXXXXXXX" \
--region="us-east-1" \
--bucket="my-s3-bucket" \
--applicationName="my-app" \
--environmentName="staging"
For continuous integration environments, you'll probably want to use environment variables for parts of your configuration. This might look something like:
# Read the version from package.json
PACKAGE_VERSION=$(cat package.json | grep version | head -1 | awk -F: '{ print $2 }' | sed 's/[\",]//g' | tr -d '[[:space:]]')
# Deploy the new version
./node_modules/.bin/eb-deploy \
--source="./my-app.zip" \
--label="v$PACKAGE_VERSION" \
--accessKeyId="$AWS_ACCESS_KEY_ID" \
--secretAccessKey="$AWS_SECRET_ACCESS_KEY" \
--region="us-east-1" \
--bucket="my-s3-bucket" \
--applicationName="my-app" \
--environmentName="staging"
Note: There are no default values for any arguments.
Run ESLint with npm run lint
.
FAQs
A very simple AWS Elastic Beanstalk deployment CLI
The npm package eb-deploy-cli receives a total of 12 weekly downloads. As such, eb-deploy-cli popularity was classified as not popular.
We found that eb-deploy-cli demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
Security News
As cyber threats become more autonomous, AI-powered defenses are crucial for businesses to stay ahead of attackers who can exploit software vulnerabilities at scale.
Security News
UnitedHealth Group disclosed that the ransomware attack on Change Healthcare compromised protected health information for millions in the U.S., with estimated costs to the company expected to reach $1 billion.