You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+11-9Lines changed: 11 additions & 9 deletions
Original file line number
Diff line number
Diff line change
@@ -4,10 +4,9 @@
4
4
5
5
Terraform module that creates a generic lambda function that runs newman tests against a postman collection.
6
6
7
-
This lambda function is intended for use
8
-
with [CodeDeploy's lifecycle hooks](https://docs.aws.amazon.com/codedeploy/latest/userguide/reference-appspec-file-structure-hooks.html)
9
-
. This lambda function will attempt to run the [newman](https://www.npmjs.com/package/newman) CLI to run your Postman
10
-
collection as a test. This lambda function will tell CodeDeploy if the tests pass or fail.
7
+
This lambda function is intended for use with [CodeDeploy's lifecycle hooks](https://docs.aws.amazon.com/codedeploy/latest/userguide/reference-appspec-file-structure-hooks.html).
8
+
This lambda function will attempt to run the [newman](https://www.npmjs.com/package/newman) CLI to run your Postman collection as a test.
9
+
This lambda function will tell CodeDeploy if the tests pass or fail.
11
10
12
11
#### [New to Terraform Modules at BYU?](https://github.com/byu-oit/terraform-documentation)
13
12
@@ -47,11 +46,11 @@ module "fargate_api" {
47
46
source = "github.com/byu-oit/terraform-aws-fargate-api?ref=" # latest version
| tags | map(string) | A map of AWS Tags to attach to each resource created | {} |
118
117
| timeout | number | The max number of seconds the lambda will run for without stopping. | 30 |
119
118
| memory_size | number | The size of the memory of the lambda | 128 |
119
+
| vpc_id | string | The id of the VPC the lambda will be behind if VPC configuration is desired. (must be provided with lambda_vpc_subnet_ids) | null |
120
+
| vpc_subnet_ids | list(string) | A list of subnet ids the lambda will be put in if VPC configuration is desired. (must be provided with vpc_id) |[]|
120
121
121
122
### postman_collection
122
123
Object defining the collection and environment to run.
@@ -131,6 +132,7 @@ Object defining the collection and environment to run.
131
132
| lambda_iam_role |[object](https://www.terraform.io/docs/providers/aws/r/iam_role.html#attributes-reference)| Created IAM role for the `lambda_function`|
132
133
| postman_files_bucket |[object](https://www.terraform.io/docs/providers/aws/r/s3_bucket.html#attributes-reference)| Created S3 Bucket where local postman files are uploaded |
133
134
| cloudwatch_log_group |[object](https://www.terraform.io/docs/providers/aws/r/cloudwatch_log_group.html#attributes-reference)| Created CloudWatch Log Group for the postman lambda logs |
135
+
| lambda_security_group |[object](https://www.terraform.io/docs/providers/aws/r/security_group.html#attributes-reference)| Created security group for the lambda's VPC configuration. |
0 commit comments