From b8950968618cba3508c774e35ffa5fcb5e138d1f Mon Sep 17 00:00:00 2001 From: Lukas G <20104521+zLukas@users.noreply.github.com> Date: Wed, 11 Oct 2023 23:09:04 +0200 Subject: [PATCH] Update README.md readme steps added --- README.md | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index eb3324f..155de61 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,13 @@ Generate tls certificates using Aws infrastructure -# AWS permissions -In order to create AWS infrastructure, copy following permissions: [aws-permission.json](doc/aws-permissions.json) - - +# AWS +## Prerequisities +In order to create AWS infrastructure, use following policy: [aws-permission.json](doc/aws-permissions.json) +## steps +1. build go binary from `main.go` in `/src/cert-generator/` dir: + `$ GOOS=linux GOARCH=amd64 go build -tags lambda.norpc -o bootstrap main.go` +2. zip pacakge to boostrap.zip +3. place .zip file in `/terraform` dir. +4. customise terraform variables if needed. +5. run terraform apply command.