Skip to content

andylim0221/terraform-pipeline-aws

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

94 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

terraform-pipeline-aws

Terraform pipeline for AWS.


Overview

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.

Contributions

Changing API Function

  1. Change Web Application Firewall rule configuration to change security behaviors. For details on which rule does what, visit the corresponding AWS documentation.

  2. Change API Gateway request model definition to change request body components.

  3. Change API Gateway method configuration to change required header, query string, and path parameter configurations.

  4. Change Python input validators in the Lambda function to reflect the same changes.

  5. Change Lambda function Python code to change what the API does.

Steps

  1. Quick way: use an IDE with Git integrations instead (such as Visual Studio Code).

  2. Clone the main branch.

    git clone https://github.com/fer1035/terraform-pipeline-aws.git
  3. Create your feature branch from main.

    git checkout -b my-branch
  4. Make your changes.

  5. Commit and push your feature branch to origin.

    git commit -m "Updating changes in my-branch."
    git push --set-upstream origin my-branch
  6. Create a Pull Request from your feature branch to main.

    Pull Requests will require the Terraform check to pass before merging.

About

Terraform pipeline for AWS.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published