From 682da90d1c7c5e40998e3b6d4ea7cad068338cee Mon Sep 17 00:00:00 2001 From: james-reed <47073006+james-reed@users.noreply.github.com> Date: Tue, 2 Mar 2021 22:39:50 +1100 Subject: [PATCH] Update README.md --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 331ed13..69930c3 100644 --- a/README.md +++ b/README.md @@ -74,7 +74,7 @@ So once Terraform has completed an apply, it'll output the public IP address of ### Updating Cloudflare DNS record to instance public IP address ```cloudflare-set-dns-record.sh``` has to be run seperately to Terraform after a successful apply (just tack it onto a one-liner when you do the Terraform apply). This will read the **$instance_ip** value and use it to update a DNS record inside a Cloudlare DNS zone. It's ideal to have this run locally rather than part of the startup script that runs on the instance - so that we can avoid any Cloudflare API keys being transported unnecessarily. -## Deploying +### Deploying To deploy this instance, simply issue the following commands: ``` terraform init @@ -82,7 +82,7 @@ terraform plan terraform apply;./cloudflare-set-dns-record.sh ``` -## Destroying and clearing Cloudflare DNS record +### Destroying and clearing Cloudflare DNS record To destroy the environment, simply issue: ``` terraform destroy -- GitLab