https://github.com/ironcore864/tfm-cf-s3-waf-lambda-blue
https://github.com/ironcore864/tfm-cf-s3-waf-lambda-blue
Last synced: 6 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/ironcore864/tfm-cf-s3-waf-lambda-blue
- Owner: IronCore864
- Created: 2019-10-31T10:51:16.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2019-10-31T10:52:54.000Z (over 6 years ago)
- Last Synced: 2025-06-01T02:44:44.343Z (about 1 year ago)
- Language: HCL
- Size: 3.91 KB
- Stars: 0
- Watchers: 0
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Terraform Module - CloudFront Blue Deployment
Creates Blue ENV of the Blue/Green deployment of CloudFront, including:
- WAF rules to protect blue
- S3 buckets for blue
- CloudFront distribution
- Firehose for WAF logs
## Usage
Example:
```
module "cf_website_de" {
source = "git::https://github.com/IronCore864/tfm-cf-s3-waf-lambda-blue.git"
naming_prefix = "xxx"
acm_certificate_arn = var.cf_cert_arn
aliases = var.aliases
origin_request_lambda_arn = "xxx"
viewer_request_lambda_arn = "xxx"
routing_rules = var.routing_rules_blue
blue_host_name = var.blue_host_name
cookie_token = var.blue_access_cookie
r53_zone_id = var.r53_zone_id
blue_r53_name = var.blue_r53_name
}
```