在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称(OpenSource Name):terraform-google-modules/terraform-google-lb开源软件地址(OpenSource Url):https://github.com/terraform-google-modules/terraform-google-lb开源编程语言(OpenSource Language):HCL 63.1%开源软件介绍(OpenSource Introduction):Regional TCP Load Balancer Terraform ModuleModular Regional TCP Load Balancer for GCE using target pool and forwarding rule. Load Balancer Types
CompatibilityThis module is meant for use with Terraform 0.13+ and tested using Terraform 1.0+. If you find incompatibilities using Terraform >=0.13, please open an issue. If you haven't upgraded and need a Terraform 0.12.x-compatible version of this module, the last released version intended for Terraform 0.12.x is v2.3.0. UsageBasic usage is as follows: module "load_balancer" {
source = "GoogleCloudPlatform/lb/google"
version = "~> 2.0.0"
region = var.region
name = "load-balancer"
service_port = 80
target_tags = ["allow-lb-service"]
network = var.network
}
module "managed_instance_group" {
source = "terraform-google-modules/vm/google//modules/mig"
version = "~> 1.0.0"
region = var.region
target_size = 2
hostname = "mig-simple"
instance_template = module.instance_template.self_link
target_pools = [module.load_balancer.target_pool]
named_ports = [{
name = "http"
port = 80
}]
} Full functional examples are located in the examples directory. Resources CreatedFigure 1. Diagram of Terraform resources created by module (in green).
Inputs
Outputs
health_check variableThe
|
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论