Skip to content

wallarm/terraform-aws-wallarm

Repository files navigation

Wallarm AWS Terraform Module

Wallarm is the platform Dev, Sec, and Ops teams choose to build cloud-native APIs securely, monitor them for modern threats, and get alerted when threats arise. Whether you protect some of the legacy apps or brand new cloud-native APIs, Wallarm provides key components to secure your business against emerging threats.

This repo contains the module for deploying Wallarm on AWS using Terraform.

Wallarm proxy scheme

By implementing the Wallarm Terraform module, we have provided the solution enabling two core Wallarm deployment options: proxy and mirror security solutions. The deployment option is easily controlled by the preset Wallarm module variable. You can try both options by deploying either the provided examples or configuring the module itself.

Requirements

  • Terraform 1.0.5 or higher installed locally
  • Access to the account with the Administrator role in Wallarm Console in the EU Cloud or US Cloud
  • Access to https://api.wallarm.com if working with EU Wallarm Cloud or to https://us1.api.wallarm.com if working with US Wallarm Cloud. Please ensure the access is not blocked by a firewall

How to use this Module?

This repo has the following folder structure:

  • modules: This folder contains submodules required to deploy the Wallarm module.
  • examples: This folder shows examples of different ways to use the module from the modules folder to deploy Wallarm.

To deploy Wallarm for production using this repo:

  1. Sign up for Wallarm Console in the EU Cloud or US Cloud.

  2. Open Wallarm Console → Nodes and create the node of the Wallarm node type.

  3. Copy the generated node token.

  4. Add the wallarm module code to your Terraform configuration:

    module "wallarm" {
      source = "wallarm/wallarm/aws"
    
      vpc_id     = "..."
    
      preset     = "proxy"
      proxy_pass = "https://..."
    
      host       = "api.wallarm.com" # or "us1.api.wallarm.com"
      token      = "..."
    
      instance_type = "..."
    
      ...
    }
    
  5. Specify the copied node token in the token variable and configure other necessary variables.

How is this Module maintained?

Wallarm AWS Module is maintained by Wallarm Team.

If you have questions or feature requests related to Wallarm AWS Module, do not hesitate to send an email to support@wallarm.com.

License

This code is released under the MIT License.

Copyright © 2022 Wallarm, Inc.

About

Module for deploying Wallarm on AWS using Terraform

Resources

License

Stars

Watchers

Forks

Packages

No packages published