module "urlfilters" {
source = "https://github.com/canada-ca-terraform-modules/terraform-fortios-webfilter-urlfilter"
providers = {
fortios = fortios.my_alias
}
urlfilters = {
20 = {
name = "url_filter_1"
entries = {
1 = {
url = "www.google.ca"
type = "simple"
}
9999 = {
url = "*" #block by default
type = "wildcard"
action = "block"
}
}
}
21 = {
name = "url_filter_2"
entries = {
1 = {
url = "*.microsoft.com"
type = "wildcard"
action = "exempt"
}
9999 = {
url = "*"
type = "wildcard"
action = "block"
}
}
}
}
}
Name | Version |
---|---|
terraform | ~> 1.3 |
fortios | >= 1.17.0 |
Name | Version |
---|---|
fortios | >= 1.17.0 |
No modules.
Name | Type |
---|---|
fortios_webfilter_urlfilter.this | resource |
Name | Description | Type | Default | Required |
---|---|---|---|---|
urlfilters | Static URL filter list that can be attached to a webfilter profile. | map(object()) |
n/a | yes |
Name | Description |
---|---|
urlfilter | n/a |