Giter Site home page Giter Site logo

route53copy's Introduction

route53copy, copies resource records between two AWS Route53 accounts

route53copy copies resource records from one AWS account to another (or inside the same account). It creates a ChangeResourceRecordSet with UPSERT for all ResourceRecords of the source account and sends it to the destination account.

The top-level SOA and NS are not included in the change set since they should already exist in the destination account.

The destination domain must already exist in the destination account and AWS Named Profiles must be configured for both the source account and the destination account.

Installation

Homebrew Installation on OS X

$ brew tap andersjanmyr/tap
$ brew install route53

route53copy is a single binary. Install it by right-clicking and Save as... or with curl.

Links

Curl

# OS X
$ curl -L https://github.com/andersjanmyr/route53copy/releases/download/v1.1.1/route53copy-osx \
  > /usr/local/bin/route53copy

# Linux
$ curl -L https://github.com/andersjanmyr/route53copy/releases/download/v1.1.1/route53copy-linux \
  > /usr/local/bin/route53copy

# Make executable
$ chmod a+x /usr/local/bin/route53copy

Usage

$ route53copy --help
Usage: route53copy [options] <source_profile> <dest_profile> <source_domain> [dest_domain]
  -dry
        Don't make any changes
  -exclude value
        Comma separated list of DNS entries types of the base domain to be ignored. If not set SOA and NS will be excluded. (default [])
  -help
        Show help text
  -version
        Show version
$ route53copy -exclude "SOA,NS,MX" aws_profile1 aws_profile2 example.com foobar.com
Skipping example.com. NS
Skipping example.com. SOA
Skipping example.com. MX
Number of Records:  55
52 records in 'example.com' are copied from aws_profile1-dev to aws_profile2
{
  Comment: "Importing ALL records from aws_profile",
  Id: "/change/C3QI8LAP4H5G9",
  Status: "PENDING",
  SubmittedAt: 2015-09-25 08:47:19.908 +0000 UTC
}

Release Notes

A list of changes are in the RELEASE_NOTES.

route53copy's People

Contributors

andersjanmyr avatar

Watchers

James Cloos avatar Jan Nabbefeld avatar  avatar

Forkers

jcreager

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.