Skip to content

Commit 8d64d81

Browse files
authored
0.1.1 (#5)
* Fixing WAF active bug
1 parent 5a2c157 commit 8d64d81

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

CHANGELOG.md

+1
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44

55
Bugfix: Refactor md5 calculation on archive_file in codebuild child module.
66
Bugfix: Re-typed AWS account number as string to avoid rounding on account numbers prepended with zeros.
7+
Bugfix: Fix passed WAF variable values if set to inactive.
78

89
## 0.1.0 - 19th June 2021
910

main.tf

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ module "cloudfront" {
2929
depends_on = [aws_acm_certificate_validation.wordpress_site,
3030
module.waf]
3131
cloudfront_class = var.cloudfront_class
32-
waf_acl_arn = module.waf[0].waf_acl_arn
32+
waf_acl_arn = var.waf_enabled ? module.waf[0].waf_acl_arn : null
3333
}
3434

3535
module "waf" {

0 commit comments

Comments
 (0)