Resource: aws_appmesh_mesh

Provides an AWS App Mesh service mesh resource.

Example Usage

Basic

resource "aws_appmesh_mesh" "simple" {
  name = "simpleapp"
}

Egress Filter

resource "aws_appmesh_mesh" "simple" {
  name = "simpleapp"

  spec {
    egress_filter {
      type = "ALLOW_ALL"
    }
  }
}

Argument Reference

This resource supports the following arguments:

Attribute Reference

This resource exports the following attributes in addition to the arguments above:

Import

In Terraform v1.5.0 and later, use an import block to import App Mesh service meshes using the name. For example:

import {
  to = aws_appmesh_mesh.simple
  id = "simpleapp"
}

Using terraform import, import App Mesh service meshes using the name. For example:

% terraform import aws_appmesh_mesh.simple simpleapp