|
5 | 5 | Replace the GitHub Repo name and comment in these badges if they BridgeCrew is enabled for this repository.
|
6 | 6 |
|
7 | 7 | ### Code Quality
|
8 |
| -[](https://github.com/geekcell/terraform-aws-module-template/blob/master/LICENSE) |
9 |
| -[](https://github.com/geekcell/terraform-aws-module-template/releases) |
10 |
| -[](https://github.com/geekcell/terraform-aws-module-template/actions/workflows/release.yaml) |
11 |
| -[](https://github.com/geekcell/terraform-aws-module-template/actions/workflows/validate.yaml) |
12 |
| -[](https://github.com/geekcell/terraform-aws-module-template/actions/workflows/linter.yaml) |
| 8 | +[](https://github.com/geekcell/terraform-aws-cloudfront-waf/blob/master/LICENSE) |
| 9 | +[](https://github.com/geekcell/terraform-aws-cloudfront-waf/releases) |
| 10 | +[](https://github.com/geekcell/terraform-aws-cloudfront-waf/actions/workflows/release.yaml) |
| 11 | +[](https://github.com/geekcell/terraform-aws-cloudfront-waf/actions/workflows/validate.yaml) |
| 12 | +[](https://github.com/geekcell/terraform-aws-cloudfront-waf/actions/workflows/linter.yaml) |
13 | 13 |
|
14 | 14 | ### Security
|
15 |
| -[](https://www.bridgecrew.cloud/link/badge?vcs=github&fullRepo=geekcell%2Fterraform-aws-module-template&benchmark=INFRASTRUCTURE+SECURITY) |
| 15 | +[](https://www.bridgecrew.cloud/link/badge?vcs=github&fullRepo=geekcell%2Fterraform-aws-cloudfront-waf&benchmark=INFRASTRUCTURE+SECURITY) |
16 | 16 |
|
17 | 17 | #### Cloud
|
18 |
| -[](https://www.bridgecrew.cloud/link/badge?vcs=github&fullRepo=geekcell%2Fterraform-aws-module-template&benchmark=CIS+AWS+V1.2) |
19 |
| -[](https://www.bridgecrew.cloud/link/badge?vcs=github&fullRepo=geekcell%2Fterraform-aws-module-template&benchmark=CIS+AWS+V1.3) |
20 |
| -[](https://www.bridgecrew.cloud/link/badge?vcs=github&fullRepo=geekcell%2Fterraform-aws-module-template&benchmark=CIS+AZURE+V1.1) |
21 |
| -[](https://www.bridgecrew.cloud/link/badge?vcs=github&fullRepo=geekcell%2Fterraform-aws-module-template&benchmark=CIS+AZURE+V1.3) |
22 |
| -[](https://www.bridgecrew.cloud/link/badge?vcs=github&fullRepo=geekcell%2Fterraform-aws-module-template&benchmark=CIS+GCP+V1.1) |
| 18 | +[](https://www.bridgecrew.cloud/link/badge?vcs=github&fullRepo=geekcell%2Fterraform-aws-cloudfront-waf&benchmark=CIS+AWS+V1.2) |
| 19 | +[](https://www.bridgecrew.cloud/link/badge?vcs=github&fullRepo=geekcell%2Fterraform-aws-cloudfront-waf&benchmark=CIS+AWS+V1.3) |
| 20 | +[](https://www.bridgecrew.cloud/link/badge?vcs=github&fullRepo=geekcell%2Fterraform-aws-cloudfront-waf&benchmark=CIS+AZURE+V1.1) |
| 21 | +[](https://www.bridgecrew.cloud/link/badge?vcs=github&fullRepo=geekcell%2Fterraform-aws-cloudfront-waf&benchmark=CIS+AZURE+V1.3) |
| 22 | +[](https://www.bridgecrew.cloud/link/badge?vcs=github&fullRepo=geekcell%2Fterraform-aws-cloudfront-waf&benchmark=CIS+GCP+V1.1) |
23 | 23 |
|
24 | 24 | ##### Container
|
25 |
| -[](https://www.bridgecrew.cloud/link/badge?vcs=github&fullRepo=geekcell%2Fterraform-aws-module-template&benchmark=CIS+KUBERNETES+V1.6) |
26 |
| -[](https://www.bridgecrew.cloud/link/badge?vcs=github&fullRepo=geekcell%2Fterraform-aws-module-template&benchmark=CIS+EKS+V1.1) |
27 |
| -[](https://www.bridgecrew.cloud/link/badge?vcs=github&fullRepo=geekcell%2Fterraform-aws-module-template&benchmark=CIS+GKE+V1.1) |
28 |
| -[](https://www.bridgecrew.cloud/link/badge?vcs=github&fullRepo=geekcell%2Fterraform-aws-module-template&benchmark=CIS+KUBERNETES+V1.5) |
| 25 | +[](https://www.bridgecrew.cloud/link/badge?vcs=github&fullRepo=geekcell%2Fterraform-aws-cloudfront-waf&benchmark=CIS+KUBERNETES+V1.6) |
| 26 | +[](https://www.bridgecrew.cloud/link/badge?vcs=github&fullRepo=geekcell%2Fterraform-aws-cloudfront-waf&benchmark=CIS+EKS+V1.1) |
| 27 | +[](https://www.bridgecrew.cloud/link/badge?vcs=github&fullRepo=geekcell%2Fterraform-aws-cloudfront-waf&benchmark=CIS+GKE+V1.1) |
| 28 | +[](https://www.bridgecrew.cloud/link/badge?vcs=github&fullRepo=geekcell%2Fterraform-aws-cloudfront-waf&benchmark=CIS+KUBERNETES+V1.5) |
29 | 29 |
|
30 | 30 | #### Data protection
|
31 |
| -[](https://www.bridgecrew.cloud/link/badge?vcs=github&fullRepo=geekcell%2Fterraform-aws-module-template&benchmark=SOC2) |
32 |
| -[](https://www.bridgecrew.cloud/link/badge?vcs=github&fullRepo=geekcell%2Fterraform-aws-module-template&benchmark=PCI-DSS+V3.2) |
33 |
| -[](https://www.bridgecrew.cloud/link/badge?vcs=github&fullRepo=geekcell%2Fterraform-aws-module-template&benchmark=PCI-DSS+V3.2.1) |
34 |
| -[](https://www.bridgecrew.cloud/link/badge?vcs=github&fullRepo=geekcell%2Fterraform-aws-module-template&benchmark=ISO27001) |
35 |
| -[](https://www.bridgecrew.cloud/link/badge?vcs=github&fullRepo=geekcell%2Fterraform-aws-module-template&benchmark=NIST-800-53) |
36 |
| -[](https://www.bridgecrew.cloud/link/badge?vcs=github&fullRepo=geekcell%2Fterraform-aws-module-template&benchmark=HIPAA) |
37 |
| -[](https://www.bridgecrew.cloud/link/badge?vcs=github&fullRepo=geekcell%2Fterraform-aws-module-template&benchmark=FEDRAMP+%28MODERATE%29) |
| 31 | +[](https://www.bridgecrew.cloud/link/badge?vcs=github&fullRepo=geekcell%2Fterraform-aws-cloudfront-waf&benchmark=SOC2) |
| 32 | +[](https://www.bridgecrew.cloud/link/badge?vcs=github&fullRepo=geekcell%2Fterraform-aws-cloudfront-waf&benchmark=PCI-DSS+V3.2) |
| 33 | +[](https://www.bridgecrew.cloud/link/badge?vcs=github&fullRepo=geekcell%2Fterraform-aws-cloudfront-waf&benchmark=PCI-DSS+V3.2.1) |
| 34 | +[](https://www.bridgecrew.cloud/link/badge?vcs=github&fullRepo=geekcell%2Fterraform-aws-cloudfront-waf&benchmark=ISO27001) |
| 35 | +[](https://www.bridgecrew.cloud/link/badge?vcs=github&fullRepo=geekcell%2Fterraform-aws-cloudfront-waf&benchmark=NIST-800-53) |
| 36 | +[](https://www.bridgecrew.cloud/link/badge?vcs=github&fullRepo=geekcell%2Fterraform-aws-cloudfront-waf&benchmark=HIPAA) |
| 37 | +[](https://www.bridgecrew.cloud/link/badge?vcs=github&fullRepo=geekcell%2Fterraform-aws-cloudfront-waf&benchmark=FEDRAMP+%28MODERATE%29) |
38 | 38 |
|
39 | 39 | -->
|
40 | 40 |
|
41 |
| -# Terraform AWS Module Template |
| 41 | +# Terraform AWS CloudFront Web Application Firewall |
42 | 42 |
|
43 |
| -A template repository for creating our AWS Terraform modules. It gives you a good starting point for creating new modules quickly. |
44 |
| -It comes with: |
45 |
| -* Basic directory structure |
46 |
| -* GitHub Workflow for Linting and Validation |
47 |
| -* Pre-Commit Hooks |
48 |
| -* Makefile for common tasks |
| 43 | +Terraform module to create a CloudFront Web Application Firewall. Please note, since this is a CloudFront WebACL, |
| 44 | +it is mandatory to run in the "us-east-1" region. Check the example. |
49 | 45 |
|
50 | 46 | ## Inputs
|
51 | 47 |
|
52 |
| -No inputs. |
| 48 | +| Name | Description | Type | Default | Required | |
| 49 | +|------|-------------|------|---------|:--------:| |
| 50 | +| <a name="input_name"></a> [name](#input\_name) | Friendly name of the ACL. | `string` | n/a | yes | |
| 51 | +| <a name="input_tags"></a> [tags](#input\_tags) | Tags to add to the Resources. | `map(any)` | `{}` | no | |
53 | 52 |
|
54 | 53 | ## Outputs
|
55 | 54 |
|
56 |
| -No outputs. |
| 55 | +| Name | Description | |
| 56 | +|------|-------------| |
| 57 | +| <a name="output_arn"></a> [arn](#output\_arn) | The ARN of the ACL. | |
57 | 58 |
|
58 | 59 | ## Providers
|
59 | 60 |
|
60 |
| -No providers. |
| 61 | +| Name | Version | |
| 62 | +|------|---------| |
| 63 | +| <a name="provider_aws"></a> [aws](#provider\_aws) | >= 4.36 | |
61 | 64 |
|
62 | 65 | ## Resources
|
63 | 66 |
|
| 67 | +- resource.aws_wafv2_web_acl.main (main.tf#7) |
64 | 68 |
|
65 | 69 | # Examples
|
66 | 70 | ### Complete
|
67 | 71 | ```hcl
|
68 | 72 | module "example" {
|
69 | 73 | source = "../../"
|
| 74 | + name = "my-waf" |
| 75 | +
|
| 76 | + providers = { |
| 77 | + aws = aws.us-east-1 |
| 78 | + } |
| 79 | +} |
| 80 | +
|
| 81 | +provider "aws" { |
| 82 | + allowed_account_ids = ["1234567890"] |
| 83 | + profile = "AdministratorAccess-1234567890" |
| 84 | + region = "us-east-1" |
| 85 | + alias = "us-east-1" |
70 | 86 | }
|
71 | 87 | ```
|
72 | 88 | <!-- END_TF_DOCS -->
|
0 commit comments