Skip to content

Commit 3e7289d

Browse files
committed
ci: add tfsec job
1 parent 372412c commit 3e7289d

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed

.github/workflows/tfsec.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
name: tfsec
2+
on: push
3+
4+
jobs:
5+
tfsec:
6+
uses: skyleague/node-standards/.github/workflows/reusable-tfsec.yml@main
7+
with:
8+
terraform-version: "1.2.7"
9+
working-directory: "./"

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# SkyLeague `aws-rest-api` - AWS API Gateway REST API simplified
22

3+
[![tfsec](https://github.com/skyleague/aws-rest-api/actions/workflows/tfsec.yml/badge.svg?branch=main)](https://github.com/skyleague/aws-rest-api/actions/workflows/tfsec.yml)
4+
35
This module simplifies the deployment of AWS API Gateway REST API (v1) by consolidating all the neccessary infrastructure into this module. It leverages the capability of the REST API to deploy using the [`body`](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/api_gateway_rest_api#body) argument, rather than deploying all the resources/methods/integrations separately. This makes for a very dynamic deployment without the hassle of maintaining the sub-resource <-> parent relations between all the path parts (for examples, see the [`aws_api_gateway_integration`](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/api_gateway_integration) docs of Terraform).
46

57
In addition, it simplifies the integration of AWS Lambda by providing a standardized syntax to integrate AWS Lambda using the `AWS_PROXY` integration, as well as creating all the neccesary permissions for the API to invoke the Lambda functionss that are integrated with it.

0 commit comments

Comments
 (0)