You must be logged in to view saved presets
Implements an AWS App Mesh virtual node with access logging to standard output.
resource "aws_appmesh_virtual_node" "serviceb1" {
mesh_name = "aws_appmesh_mesh.simple.id"
name = "serviceBv1"
spec {
backend {
virtual_service {
virtual_service_name = "servicea.simpleapp.local"
}
}
listener {
port_mapping {
port = 8080
protocol = "http"
}
}
logging {
access_log {
file {
path = "/dev/stdout"
}
}
}
service_discovery {
dns {
hostname = "serviceb.simpleapp.local"
}
}
}
}