Skip to content

pbs/terraform-aws-app-mesh-module

Repository files navigation

PBS TF App Mesh Module

Installation

Using the Repo Source

Use this URL for the source of the module. See the usage examples below for more details.

github.com/pbs/terraform-aws-app-mesh-module?ref=0.0.30

Alternative Installation Methods

More information can be found on these install methods and more in the documentation here.

Usage

This module provisions a basic App Mesh.

Integrate this module like so:

module "app_mesh" {
  source = "github.com/pbs/terraform-aws-app-mesh-module?ref=0.0.30"

  # Tagging Parameters
  organization = var.organization
  environment  = var.environment
  product      = var.product
  repo         = var.repo

  # Optional Parameters
}

Adding This Version of the Module

If this repo is added as a subtree, then the version of the module should be close to the version shown here:

0.0.30

Note, however that subtrees can be altered as desired within repositories.

Further documentation on usage can be found here.

Below is automatically generated documentation on this Terraform module using terraform-docs


Requirements

Name Version
terraform >= 1.3.2
aws >= 4.5.0

Providers

Name Version
aws 5.24.0

Modules

No modules.

Resources

Name Type
aws_appmesh_mesh.mesh resource
aws_default_tags.common_tags data source

Inputs

Name Description Type Default Required
environment Environment (sharedtools, dev, staging, qa, prod) string n/a yes
organization Organization using this module. Used to prefix tags so that they are easily identified as being from your organization string n/a yes
product Tag used to group resources according to product string n/a yes
repo Tag used to point to the repo using this module string n/a yes
is_egress_allowed Determines whether egress is allowed from the app mesh. bool true no
name Name of the app mesh. Will default to product if not defined. string null no
tags Extra tags map(string) {} no

Outputs

Name Description
arn The ARN of the service mesh.
id The ID of the service mesh.
name The name of the service mesh.