AWS App Mesh Mesh

This page shows how to write Terraform and CloudFormation for App Mesh Mesh and write them securely.

aws_appmesh_mesh (Terraform)

The Mesh in App Mesh can be configured in Terraform with the resource name aws_appmesh_mesh. The following sections describe 5 examples of how to use the resource and its parameters.

Example Usage from GitHub

github-iconnhsd-exeter/dos-integration
resource "aws_appmesh_mesh" "appmesh" {
  tags = var.context.tags

  name = var.name
  spec {
    egress_filter {
github-iconmi-devops-task/ci-cd-aws_code_pipeline
resource "aws_appmesh_mesh" "appmesh" {
  tags = var.context.tags

  name = var.name
  spec {
    egress_filter {
github-iconlonghanhee/ecs-microservices-orchestration
resource "aws_appmesh_mesh" "mesh" {
  name = format("%s-mesh", var.cluster_name)

  spec {
    egress_filter {
      type = "ALLOW_ALL"
github-iconscribd/pr-preview-example
resource "aws_appmesh_mesh" "pr-preview-mesh" {
  name = "pr-preview-mesh"

  spec {
    egress_filter {
      type = "ALLOW_ALL"
github-iconYoyo-Kikuchi/aws-app-mesh-example
resource "aws_appmesh_mesh" "template" {
  name = var.name

Parameters

Explanation in Terraform Registry

Provides an AWS App Mesh service mesh resource.

AWS::AppMesh::Mesh (CloudFormation)

The Mesh in AppMesh can be configured in CloudFormation with the resource name AWS::AppMesh::Mesh. The following sections describe how to use the resource and its parameters.

Parameters

Explanation in CloudFormation Registry

Creates a service mesh. A service mesh is a logical boundary for network traffic between services that are represented by resources within the mesh. After you create your service mesh, you can create virtual services, virtual nodes, virtual routers, and routes to distribute traffic between the applications in your mesh.

For more information about service meshes, see Service meshes.

Frequently asked questions

What is AWS App Mesh Mesh?

AWS App Mesh Mesh is a resource for App Mesh of Amazon Web Service. Settings can be wrote in Terraform and CloudFormation.

Where can I find the example code for the AWS App Mesh Mesh?

For Terraform, the nhsd-exeter/dos-integration, mi-devops-task/ci-cd-aws_code_pipeline and longhanhee/ecs-microservices-orchestration source code examples are useful. See the Terraform Example section for further details.