Comments (4)
Can you add a little more detail about how you are using the module?
from terraform-aws-waf.
I don't know how but tried it this morning. And it works.
from terraform-aws-waf.
I am reopening this issue.
Today morning I got it. I am not sure the reason why it is happening, but here the code that I am using.
module "waf" {
source = "github.com/trussworks/terraform-aws-waf"
alb_arn = module.alb.this_lb_arn
associate_alb = true
blocked_path_prefixes = ["/admin", "/password"]
allowed_hosts = ["apples", "oranges"]
wafregional_rule_f5_id = ""
web_acl_metric_name = "prod_alb_acl_metric_name"
web_acl_name = "prod_alb_acl"
}
Here is the error message received:
Error: WAFDisallowedNameException: The specified name is not permitted.
on .terraform/modules/waf/main.tf line 46, in resource "aws_wafregional_rule" "allowed_hosts":
46: resource "aws_wafregional_rule" "allowed_hosts" {
Error: WAFDisallowedNameException: The specified name is not permitted.
on .terraform/modules/waf/main.tf line 81, in resource "aws_wafregional_rule" "blocked_path_prefixes":
81: resource "aws_wafregional_rule" "blocked_path_prefixes" {
Terraform version: Terraform v0.12.16
from terraform-aws-waf.
This is likely due to the character requirements in the web_acl_name. They don't allow _
from terraform-aws-waf.
Related Issues (4)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from terraform-aws-waf.