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_service" {
source="./modules/aws/r/aws_appmesh_virtual_service"# 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=[{
provider = [{
virtual_node = [{
virtual_node_name =null
}]
virtual_router = [{
virtual_router_name =null
}]
}]
}]
}
resource"aws_appmesh_virtual_service""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"provider" {
for_each=spec.value.providercontent {
dynamic"virtual_node" {
for_each=provider.value.virtual_nodecontent {
# virtual_node_name - (required) is a type of stringvirtual_node_name=virtual_node.value["virtual_node_name"]
}
}
dynamic"virtual_router" {
for_each=provider.value.virtual_routercontent {
# virtual_router_name - (required) is a type of stringvirtual_router_name=virtual_router.value["virtual_router_name"]
}
}
}
}
}
}
}