                       (let [subnet-name (stringify "private-" az)
                             public-subnet-name (stringify "public-" az)]
                         [["aws_subnet" subnet-name {:tags {:Name subnet-name}
-                                            :vpc_id (id-of "aws_vpc" vpc-name)
-                                            :cidr_block (get-in cidr-block [:private az])
-                                            :availability_zone (stringify region az)
+                                                    :vpc_id (id-of "aws_vpc" vpc-name)
+                                                    :cidr_block (get-in cidr-block [:private az])
+                                                    :availability_zone (stringify region az)
                                                     }]
                          ["aws_route_table" subnet-name {:tags {:Name subnet-name}
                                                          :vpc_id (id-of "aws_vpc" vpc-name)

                      (let [subnet-name (stringify "public" "-" az)
                            nat-eip (stringify subnet-name "-nat")]
                        [["aws_subnet" subnet-name {:tags {:Name subnet-name}
                                            :vpc_id (id-of "aws_vpc" vpc-name)
                                            :cidr_block (get-in cidr-block [:public az])
                                            :availability_zone (stringify region az)
                                                    }]
                         ["aws_route_table_association" subnet-name {:route_table_id (id-of "aws_route_table" "public")
                                                                     :subnet_id (id-of "aws_subnet" subnet-name)

  (:require [clojure.string :as string]
            [cheshire.core :as json]
            [stencil.core :as mustache]
            [clojure.pprint :refer [pprint]]))

(letfn [(merge-in* [a b]
          (if (map? a)
