Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

route53-updater

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

route53-updater - npm Package Compare versions

Comparing version 0.1.1 to 0.1.2

4

index.js

@@ -212,5 +212,5 @@ var assert = require("assert-plus");

if (action === "CREATE") {
createRecordSet(hostedZone.Id, params.recordSetName, params.type || "CNAME", value, params.ttl || 300, cb);
createRecordSet(hostedZone.Id, params.recordSetName, params.type || "CNAME", value, params.ttl || 60, cb);
} else if (action === "UPDATE") {
updateRecordSet(hostedZone.Id, params.recordSetName, params.type || "CNAME", value, params.ttl || 300, cb);
updateRecordSet(hostedZone.Id, params.recordSetName, params.type || "CNAME", value, params.ttl || 60, cb);
}

@@ -217,0 +217,0 @@ }

{
"name": "route53-updater",
"version": "0.1.1",
"version": "0.1.2",
"description": "Updating a Route53 resource set with meta-data of EC2 instance",

@@ -5,0 +5,0 @@ "keywords": ["Route53", "AWS"],

@@ -9,2 +9,4 @@ [![Build Status](https://secure.travis-ci.org/widdix/node-route53-updater.png)](http://travis-ci.org/widdix/node-route53-updater)

Port of https://github.com/taimos/route53-updater/
## CLI Usage

@@ -22,3 +24,3 @@

route53-updater --action UPDATE --hostedZoneName yourdomain.com. --recordSetName test.yourdomain.com. --ttl 300 --metadata public-hostname --type CNAME
route53-updater --action UPDATE --hostedZoneName yourdomain.com. --recordSetName test.yourdomain.com. --ttl 60 --metadata public-hostname --type CNAME

@@ -53,4 +55,4 @@ The instance running the script needs the following IAM access rights:

* `recordSetName`: String - Name of your record set (XYZ.hostedZoneName)
* `ttl`: Number - TTL in seconds (default 300)
* `ttl`: Number - TTL in seconds (default 60)
* `metadata`: String - Metadata field to ue als the value (default public-hostname, http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-metadata.html )
* `type`: String - Type of record set (default CNAME, http://docs.aws.amazon.com/Route53/latest/DeveloperGuide/ResourceRecordTypes.html )
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc