carlpett / tfz53

Convert a BIND zonefile to Terraform resource definitions for AWS Route53

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

tfz53 (previously knows as bzfttr53rdutil)

A conversion utility for creating Terraform resource definitions for AWS Route53 from BIND zonefiles.

Installation

Download the latest release.

Usage

tfz53 -domain <domain-name> [flags] > route53-domain.tf

Flags

Name Description Default
-domain Name of domain. Required.
-zone-file Path to zone file. Optional. <domain>.zone
-exclude Record types to ignore, comma-separated. Optional. SOA,NS

Building

If you want to build from source, you will first need the Go tools. Instructions for installation are available from the documentation.

Once that is done, run

go get github.com/carlpett/tfz53
cd $GOPATH/src/github.com/carlpett/tfz53
go build

You should now have a finished binary.

This project uses dep to manage external dependencies. See the Github repo for more information.

About

Convert a BIND zonefile to Terraform resource definitions for AWS Route53

License:Apache License 2.0


Languages

Language:Go 90.7%Language:Makefile 9.3%