Terraform pipeline for AWS.
Terraform pipelining experiment - the pipeline creates a secure Application Programming Interface (API) in AWS API Gateway with a Lambda Proxy backend. The Security Demonstrator API function is defined in the Lambda function.
-
Change Web Application Firewall rule configuration to change security behaviors. For details on which rule does what, visit the corresponding AWS documentation.
-
Change API Gateway request model definition to change request body components.
-
Change API Gateway method configuration to change required header, query string, and path parameter configurations.
-
Change Python input validators in the Lambda function to reflect the same changes.
-
Change Lambda function Python code to change what the API does.
-
Quick way: use an IDE with Git integrations instead (such as Visual Studio Code).
-
Clone the main branch.
git clone https://github.com/fer1035/terraform-pipeline-aws.git
-
Create your feature branch from main.
git checkout -b my-branch
-
Make your changes.
-
Commit and push your feature branch to origin.
git commit -m "Updating changes in my-branch." git push --set-upstream origin my-branch
-
Create a Pull Request from your feature branch to main.
Pull Requests will require the Terraform check to pass before merging.