Skip to content

Commit a363b50

Browse files
author
simpleme
committed
fix formatting
1 parent 3e8eaf9 commit a363b50

File tree

2 files changed

+21
-21
lines changed

2 files changed

+21
-21
lines changed

example/example1/main.tf

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
module "security_group_checker" {
2-
source = "../../"
3-
source_file = "../../aws-lambda-script/sg-checker.py"
4-
output_path = "sg-checker.zip"
5-
function_name = "security_group_checker_lambda"
6-
table_name = "sg-checker-table"
7-
attribute_name = "SecurityGroupId"
8-
schedule_expression = "rate(1 minute)"
9-
handler = "sg-checker.handler"
10-
dynamodb_policy_name = "sg-checker-dynamodb-policy"
11-
cloudwatch_event_rule_name = "trigger-sg-checker-lambda"
12-
lambda_role_name = "iam_for_lambda"
2+
source = "../../"
3+
source_file = "../../aws-lambda-script/sg-checker.py"
4+
output_path = "sg-checker.zip"
5+
function_name = "security_group_checker_lambda"
6+
table_name = "sg-checker-table"
7+
attribute_name = "SecurityGroupId"
8+
schedule_expression = "rate(1 minute)"
9+
handler = "sg-checker.handler"
10+
dynamodb_policy_name = "sg-checker-dynamodb-policy"
11+
cloudwatch_event_rule_name = "trigger-sg-checker-lambda"
12+
lambda_role_name = "iam_for_lambda"
1313
}

variables.tf

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -4,51 +4,51 @@ variable "region" {
44
}
55

66
variable "source_file" {
7-
type = string
7+
type = string
88
description = "The path in your filesystem where your script is located"
99
}
1010

1111
variable "output_path" {
12-
type = string
12+
type = string
1313
description = "The path and name of the resulting zip file"
1414
}
1515

1616
variable "function_name" {
17-
type = string
17+
type = string
1818
description = "Name of the aws lambda function"
1919
}
2020

2121
variable "table_name" {
22-
type = string
22+
type = string
2323
description = "Name of the DynamoDB table"
2424
}
2525

2626
variable "attribute_name" {
27-
type = string
27+
type = string
2828
description = "Name of the DynamoDB attribute"
2929
}
3030

3131
variable "schedule_expression" {
32-
type = string
32+
type = string
3333
description = "Cloudwatch rule rate expression for how frequent you want the lambda function to run"
3434
}
3535

3636
variable "handler" {
37-
type = string
37+
type = string
3838
description = "Handler for the aws lambda function, the structure should be the following --> filename.mainfunction"
3939
}
4040

4141
variable "dynamodb_policy_name" {
42-
type = string
42+
type = string
4343
description = "Name of the DynamoDB iam policy"
4444
}
4545

4646
variable "cloudwatch_event_rule_name" {
47-
type = string
47+
type = string
4848
description = "Name of the CW event rule"
4949
}
5050

5151
variable "lambda_role_name" {
52-
type = string
52+
type = string
5353
description = "Name of the aws lambda execution role"
5454
}

0 commit comments

Comments
 (0)