Skip to content

alibabacloud-automation/terraform-alicloud-service-mesh

Repository files navigation

Terraform Module for creating Service Mesh on Alibaba Cloud.

terraform-alicloud-service-mesh

English | 简体中文

This module is used to create a Service Mesh with VPC and Vswitch under Alibaba Cloud.

These types of resources are supported:

Usage

module "example" {
  source                  = "terraform-alicloud-modules/service-mesh/alicloud"
  name                    = "tf-test"
  vpc_id                  = "vpc-12346xxxxxxxx"
  vswitche_ids            = ["vsw-12345xxxxxx"]
}

Examples

Notes

  • This module using AccessKey and SecretKey are from profile and shared_credentials_file. If you have not set them yet, please install aliyun-cli and configure it.

Requirements

Name Version
terraform >= 0.13

Providers

Name Version
alicloud n/a

Modules

No modules.

Resources

Name Type
alicloud_service_mesh_service_mesh.mesh resource

Inputs

Name Description Type Default Required
access_log The configuration of the access logging. map(string) {} no
audit The configuration of the audit. map(string) {} no
create_service_mesh Controls if service mesh should be created bool false no
customized_zipkin Whether or not to enable the use of a custom zipkin. bool false no
edition The type of the resource. Valid values: Default and Pro. Default:the standard. Pro:the Pro version. string "Default" no
enable_locality_lb The enable locality lb. bool false no
force This parameter is used for resource destroy. Default value is false. bool false no
kiali The configuration of the Kiali. map(string) {} no
load_balancer The configuration of the Load Balancer. map(string) {} no
name The name of the resource. string "" no
opa The open-door policy of agent (OPA) plug-in information. map(string) {} no
outbound_traffic_policy The policy of the Out to the traffic. Valid values: ALLOW_ANY and REGISTRY_ONLY. string "ALLOW_ANY" no
pilot The configuration of the Link trace sampling. map(string) {} no
proxy The configuration of the Proxy. map(string) {} no
service_mesh_version The version of the resource. you can look up the version using alicloud_service_mesh_versions. string null no
sidecar_injector The configuration of the Sidecar injector. map(string) {} no
telemetry Whether to enable acquisition Prometheus metrics bool false no
tracing Whether to enable link trace bool false no
vpc_id The ID of the VPC. string "" no
vswitche_ids The list of Virtual Switch. list(string) [] no

Outputs

Name Description
service_mesh_id The resource ID in terraform of Service Mesh.
service_mesh_status The status of the resource.

Submit Issues

If you have any problems when using this module, please opening a provider issue and let us know.

Note: There does not recommend opening an issue on this repo.

Authors

Created and maintained by Alibaba Cloud Terraform Team(terraform@alibabacloud.com).

License

MIT Licensed. See LICENSE for full details.

Reference

About

Terraform Module for creating Service Mesh on Alibaba Cloud.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •