Skip to content

Commit 3449076

Browse files
Release/module v1.0.0 (#2)
* feat: update mabda parameter and payload * feat: update variables * chore: update readme vars and types * chore: update readme
1 parent 36c342e commit 3449076

File tree

2 files changed

+12
-2
lines changed

2 files changed

+12
-2
lines changed

README.md

+11-1
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,16 @@ This module provisions:
1919

2020
## Usage
2121

22+
### Setup terraform module
23+
24+
#### Download lambda
25+
26+
To apply the terraform module, the compiled lambdas (.zip files) need to be available locally. They can either be downloaded from the GitHub release page or built locally.
27+
28+
The lambdas can be downloaded manually from the [release page](https://github.com/iKnowJavaScript/terraform-aws-vulne-soldier/releases) or by building the Lambda folder using Node.
29+
30+
For local development you can build the lambdas at once using `/lambda` or individually using `npm zip`.
31+
2232
### Example Configuration
2333

2434
To deploy the `vulne-soldier` module, you can use the following configuration in your Terraform setup:
@@ -32,7 +42,7 @@ module "remediation" {
3242
aws_region = "us-east-1"
3343
account_id = "2123232323"
3444
lambda_log_group = "/aws/lambda/vulne-soldier-compliance-remediate"
35-
lambda_zip = "lambda.zip"
45+
lambda_zip = "./lambda.zip"
3646
remediation_options = {
3747
region = "us-east-1"
3848
reboot_option = "NoReboot"

examples/basic/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ module "remediation" {
1919
aws_region = "us-east-1"
2020
account_id = "2324334432"
2121
lambda_log_group = "/aws/lambda/vulne-soldier-compliance-remediate"
22-
lambda_zip = "lambda.zip"
22+
lambda_zip = "../../lambda.zip"
2323
remediation_options = {
2424
region = "us-east-1"
2525
reboot_option = "NoReboot"

0 commit comments

Comments
 (0)