Skip to content

Commit 12180b3

Browse files
authored
Merge pull request #1 from geekcell/release-party
feat: Initial commit
2 parents f5a60df + ef618d5 commit 12180b3

File tree

7 files changed

+194
-61
lines changed

7 files changed

+194
-61
lines changed

README.md

Lines changed: 48 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -5,68 +5,84 @@
55
Replace the GitHub Repo name and comment in these badges if they BridgeCrew is enabled for this repository.
66
77
### Code Quality
8-
[![License](https://img.shields.io/github/license/geekcell/terraform-aws-module-template)](https://github.com/geekcell/terraform-aws-module-template/blob/master/LICENSE)
9-
[![GitHub release (latest tag)](https://img.shields.io/github/v/release/geekcell/terraform-aws-module-template?logo=github&sort=semver)](https://github.com/geekcell/terraform-aws-module-template/releases)
10-
[![Release](https://github.com/geekcell/terraform-aws-module-template/actions/workflows/release.yaml/badge.svg)](https://github.com/geekcell/terraform-aws-module-template/actions/workflows/release.yaml)
11-
[![Validate](https://github.com/geekcell/terraform-aws-module-template/actions/workflows/validate.yaml/badge.svg)](https://github.com/geekcell/terraform-aws-module-template/actions/workflows/validate.yaml)
12-
[![Lint](https://github.com/geekcell/terraform-aws-module-template/actions/workflows/linter.yaml/badge.svg)](https://github.com/geekcell/terraform-aws-module-template/actions/workflows/linter.yaml)
8+
[![License](https://img.shields.io/github/license/geekcell/terraform-aws-cloudfront-waf)](https://github.com/geekcell/terraform-aws-cloudfront-waf/blob/master/LICENSE)
9+
[![GitHub release (latest tag)](https://img.shields.io/github/v/release/geekcell/terraform-aws-cloudfront-waf?logo=github&sort=semver)](https://github.com/geekcell/terraform-aws-cloudfront-waf/releases)
10+
[![Release](https://github.com/geekcell/terraform-aws-cloudfront-waf/actions/workflows/release.yaml/badge.svg)](https://github.com/geekcell/terraform-aws-cloudfront-waf/actions/workflows/release.yaml)
11+
[![Validate](https://github.com/geekcell/terraform-aws-cloudfront-waf/actions/workflows/validate.yaml/badge.svg)](https://github.com/geekcell/terraform-aws-cloudfront-waf/actions/workflows/validate.yaml)
12+
[![Lint](https://github.com/geekcell/terraform-aws-cloudfront-waf/actions/workflows/linter.yaml/badge.svg)](https://github.com/geekcell/terraform-aws-cloudfront-waf/actions/workflows/linter.yaml)
1313
1414
### Security
15-
[![Infrastructure Tests](https://www.bridgecrew.cloud/badges/github/geekcell/terraform-aws-module-template/general)](https://www.bridgecrew.cloud/link/badge?vcs=github&fullRepo=geekcell%2Fterraform-aws-module-template&benchmark=INFRASTRUCTURE+SECURITY)
15+
[![Infrastructure Tests](https://www.bridgecrew.cloud/badges/github/geekcell/terraform-aws-cloudfront-waf/general)](https://www.bridgecrew.cloud/link/badge?vcs=github&fullRepo=geekcell%2Fterraform-aws-cloudfront-waf&benchmark=INFRASTRUCTURE+SECURITY)
1616
1717
#### Cloud
18-
[![Infrastructure Tests](https://www.bridgecrew.cloud/badges/github/geekcell/terraform-aws-module-template/cis_aws)](https://www.bridgecrew.cloud/link/badge?vcs=github&fullRepo=geekcell%2Fterraform-aws-module-template&benchmark=CIS+AWS+V1.2)
19-
[![Infrastructure Tests](https://www.bridgecrew.cloud/badges/github/geekcell/terraform-aws-module-template/cis_aws_13)](https://www.bridgecrew.cloud/link/badge?vcs=github&fullRepo=geekcell%2Fterraform-aws-module-template&benchmark=CIS+AWS+V1.3)
20-
[![Infrastructure Tests](https://www.bridgecrew.cloud/badges/github/geekcell/terraform-aws-module-template/cis_azure)](https://www.bridgecrew.cloud/link/badge?vcs=github&fullRepo=geekcell%2Fterraform-aws-module-template&benchmark=CIS+AZURE+V1.1)
21-
[![Infrastructure Tests](https://www.bridgecrew.cloud/badges/github/geekcell/terraform-aws-module-template/cis_azure_13)](https://www.bridgecrew.cloud/link/badge?vcs=github&fullRepo=geekcell%2Fterraform-aws-module-template&benchmark=CIS+AZURE+V1.3)
22-
[![Infrastructure Tests](https://www.bridgecrew.cloud/badges/github/geekcell/terraform-aws-module-template/cis_gcp)](https://www.bridgecrew.cloud/link/badge?vcs=github&fullRepo=geekcell%2Fterraform-aws-module-template&benchmark=CIS+GCP+V1.1)
18+
[![Infrastructure Tests](https://www.bridgecrew.cloud/badges/github/geekcell/terraform-aws-cloudfront-waf/cis_aws)](https://www.bridgecrew.cloud/link/badge?vcs=github&fullRepo=geekcell%2Fterraform-aws-cloudfront-waf&benchmark=CIS+AWS+V1.2)
19+
[![Infrastructure Tests](https://www.bridgecrew.cloud/badges/github/geekcell/terraform-aws-cloudfront-waf/cis_aws_13)](https://www.bridgecrew.cloud/link/badge?vcs=github&fullRepo=geekcell%2Fterraform-aws-cloudfront-waf&benchmark=CIS+AWS+V1.3)
20+
[![Infrastructure Tests](https://www.bridgecrew.cloud/badges/github/geekcell/terraform-aws-cloudfront-waf/cis_azure)](https://www.bridgecrew.cloud/link/badge?vcs=github&fullRepo=geekcell%2Fterraform-aws-cloudfront-waf&benchmark=CIS+AZURE+V1.1)
21+
[![Infrastructure Tests](https://www.bridgecrew.cloud/badges/github/geekcell/terraform-aws-cloudfront-waf/cis_azure_13)](https://www.bridgecrew.cloud/link/badge?vcs=github&fullRepo=geekcell%2Fterraform-aws-cloudfront-waf&benchmark=CIS+AZURE+V1.3)
22+
[![Infrastructure Tests](https://www.bridgecrew.cloud/badges/github/geekcell/terraform-aws-cloudfront-waf/cis_gcp)](https://www.bridgecrew.cloud/link/badge?vcs=github&fullRepo=geekcell%2Fterraform-aws-cloudfront-waf&benchmark=CIS+GCP+V1.1)
2323
2424
##### Container
25-
[![Infrastructure Tests](https://www.bridgecrew.cloud/badges/github/geekcell/terraform-aws-module-template/cis_kubernetes_16)](https://www.bridgecrew.cloud/link/badge?vcs=github&fullRepo=geekcell%2Fterraform-aws-module-template&benchmark=CIS+KUBERNETES+V1.6)
26-
[![Infrastructure Tests](https://www.bridgecrew.cloud/badges/github/geekcell/terraform-aws-module-template/cis_eks_11)](https://www.bridgecrew.cloud/link/badge?vcs=github&fullRepo=geekcell%2Fterraform-aws-module-template&benchmark=CIS+EKS+V1.1)
27-
[![Infrastructure Tests](https://www.bridgecrew.cloud/badges/github/geekcell/terraform-aws-module-template/cis_gke_11)](https://www.bridgecrew.cloud/link/badge?vcs=github&fullRepo=geekcell%2Fterraform-aws-module-template&benchmark=CIS+GKE+V1.1)
28-
[![Infrastructure Tests](https://www.bridgecrew.cloud/badges/github/geekcell/terraform-aws-module-template/cis_kubernetes)](https://www.bridgecrew.cloud/link/badge?vcs=github&fullRepo=geekcell%2Fterraform-aws-module-template&benchmark=CIS+KUBERNETES+V1.5)
25+
[![Infrastructure Tests](https://www.bridgecrew.cloud/badges/github/geekcell/terraform-aws-cloudfront-waf/cis_kubernetes_16)](https://www.bridgecrew.cloud/link/badge?vcs=github&fullRepo=geekcell%2Fterraform-aws-cloudfront-waf&benchmark=CIS+KUBERNETES+V1.6)
26+
[![Infrastructure Tests](https://www.bridgecrew.cloud/badges/github/geekcell/terraform-aws-cloudfront-waf/cis_eks_11)](https://www.bridgecrew.cloud/link/badge?vcs=github&fullRepo=geekcell%2Fterraform-aws-cloudfront-waf&benchmark=CIS+EKS+V1.1)
27+
[![Infrastructure Tests](https://www.bridgecrew.cloud/badges/github/geekcell/terraform-aws-cloudfront-waf/cis_gke_11)](https://www.bridgecrew.cloud/link/badge?vcs=github&fullRepo=geekcell%2Fterraform-aws-cloudfront-waf&benchmark=CIS+GKE+V1.1)
28+
[![Infrastructure Tests](https://www.bridgecrew.cloud/badges/github/geekcell/terraform-aws-cloudfront-waf/cis_kubernetes)](https://www.bridgecrew.cloud/link/badge?vcs=github&fullRepo=geekcell%2Fterraform-aws-cloudfront-waf&benchmark=CIS+KUBERNETES+V1.5)
2929
3030
#### Data protection
31-
[![Infrastructure Tests](https://www.bridgecrew.cloud/badges/github/geekcell/terraform-aws-module-template/soc2)](https://www.bridgecrew.cloud/link/badge?vcs=github&fullRepo=geekcell%2Fterraform-aws-module-template&benchmark=SOC2)
32-
[![Infrastructure Tests](https://www.bridgecrew.cloud/badges/github/geekcell/terraform-aws-module-template/pci)](https://www.bridgecrew.cloud/link/badge?vcs=github&fullRepo=geekcell%2Fterraform-aws-module-template&benchmark=PCI-DSS+V3.2)
33-
[![Infrastructure Tests](https://www.bridgecrew.cloud/badges/github/geekcell/terraform-aws-module-template/pci_dss_v321)](https://www.bridgecrew.cloud/link/badge?vcs=github&fullRepo=geekcell%2Fterraform-aws-module-template&benchmark=PCI-DSS+V3.2.1)
34-
[![Infrastructure Tests](https://www.bridgecrew.cloud/badges/github/geekcell/terraform-aws-module-template/iso)](https://www.bridgecrew.cloud/link/badge?vcs=github&fullRepo=geekcell%2Fterraform-aws-module-template&benchmark=ISO27001)
35-
[![Infrastructure Tests](https://www.bridgecrew.cloud/badges/github/geekcell/terraform-aws-module-template/nist)](https://www.bridgecrew.cloud/link/badge?vcs=github&fullRepo=geekcell%2Fterraform-aws-module-template&benchmark=NIST-800-53)
36-
[![Infrastructure Tests](https://www.bridgecrew.cloud/badges/github/geekcell/terraform-aws-module-template/hipaa)](https://www.bridgecrew.cloud/link/badge?vcs=github&fullRepo=geekcell%2Fterraform-aws-module-template&benchmark=HIPAA)
37-
[![Infrastructure Tests](https://www.bridgecrew.cloud/badges/github/geekcell/terraform-aws-module-template/fedramp_moderate)](https://www.bridgecrew.cloud/link/badge?vcs=github&fullRepo=geekcell%2Fterraform-aws-module-template&benchmark=FEDRAMP+%28MODERATE%29)
31+
[![Infrastructure Tests](https://www.bridgecrew.cloud/badges/github/geekcell/terraform-aws-cloudfront-waf/soc2)](https://www.bridgecrew.cloud/link/badge?vcs=github&fullRepo=geekcell%2Fterraform-aws-cloudfront-waf&benchmark=SOC2)
32+
[![Infrastructure Tests](https://www.bridgecrew.cloud/badges/github/geekcell/terraform-aws-cloudfront-waf/pci)](https://www.bridgecrew.cloud/link/badge?vcs=github&fullRepo=geekcell%2Fterraform-aws-cloudfront-waf&benchmark=PCI-DSS+V3.2)
33+
[![Infrastructure Tests](https://www.bridgecrew.cloud/badges/github/geekcell/terraform-aws-cloudfront-waf/pci_dss_v321)](https://www.bridgecrew.cloud/link/badge?vcs=github&fullRepo=geekcell%2Fterraform-aws-cloudfront-waf&benchmark=PCI-DSS+V3.2.1)
34+
[![Infrastructure Tests](https://www.bridgecrew.cloud/badges/github/geekcell/terraform-aws-cloudfront-waf/iso)](https://www.bridgecrew.cloud/link/badge?vcs=github&fullRepo=geekcell%2Fterraform-aws-cloudfront-waf&benchmark=ISO27001)
35+
[![Infrastructure Tests](https://www.bridgecrew.cloud/badges/github/geekcell/terraform-aws-cloudfront-waf/nist)](https://www.bridgecrew.cloud/link/badge?vcs=github&fullRepo=geekcell%2Fterraform-aws-cloudfront-waf&benchmark=NIST-800-53)
36+
[![Infrastructure Tests](https://www.bridgecrew.cloud/badges/github/geekcell/terraform-aws-cloudfront-waf/hipaa)](https://www.bridgecrew.cloud/link/badge?vcs=github&fullRepo=geekcell%2Fterraform-aws-cloudfront-waf&benchmark=HIPAA)
37+
[![Infrastructure Tests](https://www.bridgecrew.cloud/badges/github/geekcell/terraform-aws-cloudfront-waf/fedramp_moderate)](https://www.bridgecrew.cloud/link/badge?vcs=github&fullRepo=geekcell%2Fterraform-aws-cloudfront-waf&benchmark=FEDRAMP+%28MODERATE%29)
3838
3939
-->
4040

41-
# Terraform AWS Module Template
41+
# Terraform AWS CloudFront Web Application Firewall
4242

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.
4945

5046
## Inputs
5147

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 |
5352

5453
## Outputs
5554

56-
No outputs.
55+
| Name | Description |
56+
|------|-------------|
57+
| <a name="output_arn"></a> [arn](#output\_arn) | The ARN of the ACL. |
5758

5859
## Providers
5960

60-
No providers.
61+
| Name | Version |
62+
|------|---------|
63+
| <a name="provider_aws"></a> [aws](#provider\_aws) | >= 4.36 |
6164

6265
## Resources
6366

67+
- resource.aws_wafv2_web_acl.main (main.tf#7)
6468

6569
# Examples
6670
### Complete
6771
```hcl
6872
module "example" {
6973
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"
7086
}
7187
```
7288
<!-- END_TF_DOCS -->

0 commit comments

Comments
 (0)