From 4064c4d47f5aa2df04cade7dd3554c7a90026515 Mon Sep 17 00:00:00 2001 From: Bruno Schaatsbergen Date: Tue, 27 Jun 2023 23:48:05 +0200 Subject: [PATCH] feat: add simple Terraform registry syntax example --- README.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/README.md b/README.md index 72eddee..a99778d 100644 --- a/README.md +++ b/README.md @@ -58,6 +58,15 @@ Here are some examples to choose from. Look at the prerequisites above to find o - [Complete](https://github.com/bschaatsbergen/atlantis-on-gcp-vm/tree/master/examples/complete) - [Secure Environment Variables](https://github.com/bschaatsbergen/atlantis-on-gcp-vm/tree/master/examples/secure-env-vars) + +```hcl +module "atlantis" { + source = "bschaatsbergen/atlantis/gce" + version = "1.3.1" + # insert the 7 required variables here +} +``` + ## How to deploy See [`main.tf`](https://github.com/bschaatsbergen/atlantis-on-gcp-vm/tree/master/examples/basic/main.tf) and the [`server-atlantis.yaml`](https://github.com/bschaatsbergen/atlantis-on-gcp-vm/tree/master/examples/basic/server-atlantis.yaml).