You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
module"aws_appmesh_virtual_router" {
source="./modules/aws/r/aws_appmesh_virtual_router"# mesh_name - (required) is a type of stringmesh_name=null# mesh_owner - (optional) is a type of stringmesh_owner=null# name - (required) is a type of stringname=null# tags - (optional) is a type of map of stringtags={}
spec=[{
listener = [{
port_mapping = [{
port =null
protocol =null
}]
}]
}]
}
resource"aws_appmesh_virtual_router""this" {
# mesh_name - (required) is a type of stringmesh_name=var.mesh_name# mesh_owner - (optional) is a type of stringmesh_owner=var.mesh_owner# name - (required) is a type of stringname=var.name# tags - (optional) is a type of map of stringtags=var.tagsdynamic"spec" {
for_each=var.speccontent {
dynamic"listener" {
for_each=spec.value.listenercontent {
dynamic"port_mapping" {
for_each=listener.value.port_mappingcontent {
# port - (required) is a type of numberport=port_mapping.value["port"]
# protocol - (required) is a type of stringprotocol=port_mapping.value["protocol"]
}
}
}
}
}
}
}