kuttleio / terraform-aws-environment

Kuttle - Blueprint - Main
https://ktl.ai
Apache License 2.0
0 stars 0 forks source link

[Bug] Incorrect values for $ipwhitelist #51

Closed dspv closed 11 months ago

dspv commented 11 months ago

Bug with

Error: Incorrect attribute value type

  on .terraform/modules/environment/waf.tf line 78, in resource "aws_wafv2_ip_set" "whitelisted_ips":
  78:   addresses          = each.value
    ├────────────────
    │ each.value is "128.0.0.0/1"

Inappropriate value for attribute "addresses": set of string required.

Error: Incorrect attribute value type

  on .terraform/modules/environment/waf.tf line 78, in resource "aws_wafv2_ip_set" "whitelisted_ips":
  78:   addresses          = each.value
    ├────────────────
    │ each.value is "0.0.0.0/1"