A conversion utility for creating Terraform resource definitions for AWS Route53 from BIND zonefiles.
Download the latest release.
tfz53 -domain <domain-name> [flags] > route53-domain.tf
| 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 |
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 buildYou should now have a finished binary.
This project uses dep to manage external dependencies. See the Github repo for more information.