Git Product home page Git Product logo

terraform-aws-wafv2's Introduction

alt text

maintained by Core Solutions GitHub tag Terraform Version License

WAFv2 Terraform Module

A Terraform module to handle the creation of all things WAF

Getting Started

module "waf" {
    source  = "coresolutions-ltd/wafv2/aws"

    name_preifx = "MyAwsomeWAF"
    default_action = "block"
    scope          = "REGIONAL"
    rate_limit     = 1000
    host_header    = "example.com"
    managed_rules = ["AWSManagedRulesCommonRuleSet",
                     "AWSManagedRulesAmazonIpReputationList",
                     "AWSManagedRulesKnownBadInputsRuleSet"]
}

Providers

Name Version
aws ~> 3.0
random ~> 2.0

Inputs

Name Description Type Default Required
default_action Default WAF action, can be either allow or block string "allow" no
denylist IP denylist list [] no
host_header Host header value to match, requests with this host header will be allowed. string null no
managed_rules Managed AWS rules to be applied to the web ACL list(string) [] no
name_prefix Name prefix for all resources string "Core" no
origin_token X-Origin-Token header value, requests with this header will be allowed. string null no
rate_limit Allowable rate of requests for each originating IP address in any 5 minute time span number null no
scope Scope to be applied, must be either REGIONAL or CLOUDFRONT string "REGIONAL" no
tags A map of tags to add to resources map(string) {} no
whitelist IP whitelist list [] no

Outputs

Name Description
waf_arn The WebACL ARN
waf_id The WebACL ID

terraform-aws-wafv2's People

Contributors

bwlkr avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.