Provides a WAF Geo Match Set Resource
resource "aws_waf_geo_match_set" "geo_match_set" { name = "geo_match_set" geo_match_constraint { type = "Country" value = "US" } geo_match_constraint { type = "Country" value = "CA" } }
The following arguments are supported:
name
- (Required) The name or description of the GeoMatchSet. geo_match_constraint
- (Optional) The GeoMatchConstraint objects which contain the country that you want AWS WAF to search for. geo_match_constraint
type
- (Required) The type of geographical area you want AWS WAF to search for. Currently Country is the only valid value. value
- (Required) The country that you want AWS WAF to search for. This is the two-letter country code, e.g. US
, CA
, RU
, CN
, etc. See docs for all supported values. In addition to all arguments above, the following attributes are exported:
id
- The ID of the WAF GeoMatchSet.
© 2018 HashiCorpLicensed under the MPL 2.0 License.
https://www.terraform.io/docs/providers/aws/r/waf_geo_match_set.html