Skip to content

Instantly share code, notes, and snippets.

@KyMidd
Created September 23, 2021 22:57
Show Gist options
  • Select an option

  • Save KyMidd/8cb07862a905741d29e964d51073536d to your computer and use it in GitHub Desktop.

Select an option

Save KyMidd/8cb07862a905741d29e964d51073536d to your computer and use it in GitHub Desktop.
# If you need all the IPs in a row, separated by a comma, as a string:
# ex: "1.2.3.0/24,2.3.4.0/24,1.2.3.4/32,5.6.7.8/32,..."
output "ips_seperated_by_comma_string" {
value = join(",", local.blocked_ips)
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment