Home > database >  Terraform - foreach list of maps within a list of maps
Terraform - foreach list of maps within a list of maps

Time:10-16

I am currently struggling to wrap my head around how to foreach a list of maps within a list of maps.

locals {

  vpn_configurations = [

    {
      customer_name      = "test125231"
      custom_path        = "test123123"
      shared_by          = []
      nat                = false
      nat_source_ip      = ""
      nat_destination_ip = ""
      nat_route          = ""
      tunnels = [
        {
          tunnel_name   = "test-tunnel"
          left          = "           
  • Related