2021-03-13 18:03:36 -08:00
/ * *
2022-01-01 06:52:31 -08:00
* Copyright 2022 Google LLC
2021-03-13 18:03:36 -08:00
*
* Licensed under the Apache License , Version 2 . 0 ( the " License " ) ;
* you may not use this file except in compliance with the License .
* You may obtain a copy of the License at
*
* http : //www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing , software
* distributed under the License is distributed on an " AS IS " BASIS ,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND , either express or implied .
* See the License for the specific language governing permissions and
* limitations under the License .
* /
2021-07-26 00:22:40 -07:00
variable " config_directories " {
2022-01-31 01:45:34 -08:00
description = " List of paths to folders where firewall configs are stored in yaml format. Folder may include subfolders with configuration files. Files suffix must be `.yaml`. "
2021-07-26 00:22:40 -07:00
type = list ( string )
2021-03-13 18:03:36 -08:00
}
variable " log_config " {
description = " Log configuration. Possible values for `metadata` are `EXCLUDE_ALL_METADATA` and `INCLUDE_ALL_METADATA`. Set to `null` for disabling firewall logging. "
type = object ( {
metadata = string
} )
default = null
}
2021-10-08 09:26:04 -07:00
variable " network " {
description = " Name of the network this set of firewall rules applies to. "
type = string
}
variable " project_id " {
description = " Project Id. "
type = string
}