diff --git a/START.md b/START.md index 8cf27952..5b08c00c 100644 --- a/START.md +++ b/START.md @@ -87,10 +87,36 @@ Notes: ### Install via terraform ### +You need to have [terraform](https://www.terraform.io/downloads.html) installed +on your machine. + #### Default install #### -To install it via terraform, you need to have -[terraform installed](https://www.terraform.io/downloads.html) on your machine. +Pre-built binaries easier to install are available when using the Terraform +[module](https://registry.terraform.io/modules/cristim/autospotting/aws) +available from the Terraform Registry. + +Copy and paste the below snippet into your Terraform configuration: + +```hcl +module "autospotting" { + source = "cristim/autospotting/aws" + version = "0.0.9" # this version is subject to change +} +``` + +You can also insert any of the variables you want to override, then: + +```shell +terraform init # fetches required plugin and modules for terraform +export AWS_DEFAULT_REGION=XXXX +export AWS_ACCESS_KEY_ID=XXXX +export AWS_SECRET_ACCESS_KEY=XXXX +terraform plan +terraform apply -auto-approve +``` + +#### Custom binary installation #### The `lambda.zip` file can be generated by building it locally using `make`(look for it in the `build` directory) but you'll need