Clone the Repository:
git clone https://github.com/Clivern/terraform-recipes.git
๐ฆ Run docker & docker-compose on digitalocean
$ cd do-docker
$ terraform init
# Get SSH Fingerprint
$ ssh-keygen -lf ~/.ssh/id_rsa.pub
$ terraform plan \
-var "do_token=$YOUR_TOKEN" \
-var "pub_key=~/.ssh/id_rsa.pub" \
-var "pvt_key=~/.ssh/id_rsa" \
-var "ssh_fingerprint=$SSH_FINGERPRINT" \
-var "droplet_name=$DROPLET_NAME"
$ terraform apply \
-var "do_token=$YOUR_TOKEN" \
-var "pub_key=~/.ssh/id_rsa.pub" \
-var "pvt_key=~/.ssh/id_rsa" \
-var "ssh_fingerprint=$SSH_FINGERPRINT" \
-var "droplet_name=$DROPLET_NAME"
$ terraform show terraform.tfstate
If you have any suggestions, bug reports, or annoyances please report them to our issue tracker at https://github.com/Clivern/terraform-recipes/issues
If you discover a security vulnerability within terraform-recipes, please send an email to hello@clivern.com
We are an open source, community-driven project so please feel free to join us. see the contributing guidelines for more details.
ยฉ 2019, Clivern. Released under MIT License.
terraform-recipes is authored and maintained by @Clivern.