Skip to content

Instantly share code, notes, and snippets.

@unfor19
Created September 24, 2019 09:09
Show Gist options
  • Save unfor19/ae3711baeb8b41a1c9d3738adbe3ec29 to your computer and use it in GitHub Desktop.
Save unfor19/ae3711baeb8b41a1c9d3738adbe3ec29 to your computer and use it in GitHub Desktop.
for loop pseudo-code
for availability_zone in local.availability_zones:
"${lookup(var.cidr_ab, var.environment)}.${local.cidr_c_private_subnets + index_of_availability_zone}.0/24"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment