/terraform-alicloud-alb-http

Terraform Module for creating HTTP listener for Application Load Balancer and setting forwarding rules on Alibaba Cloud.

Primary LanguageHCLMIT LicenseMIT

Terraform module which creates ALB instance and http listener on Alibaba Cloud.

terraform-alicloud-alb-http

English | 简体中文

Terraform module which creates ALB instance and http listener on Alibaba Cloud.

These types of resources are supported:

Requirements

Name Version
terraform > = 0.13.0
alicloud > = 1.131.0

Providers

Name Version
alicloud > = 1.131.0

Usage

module "example" {
  create                 = true
  source                 = "../.."
  vpc_id                 = alicloud_vpc.default.id
  address_type           = "Internet"
  address_allocated_mode = "Fixed"
  load_balancer_name     = "tf_alb_name"
  load_balancer_edition  = "Basic"
  zone_mappings          = [
    { vswitch_id = alicloud_vswitch.vswitch_1.id, zone_id = data.alicloud_alb_zones.default.zones.0.id },
    { vswitch_id = alicloud_vswitch.vswitch_2.id, zone_id = data.alicloud_alb_zones.default.zones.1.id }
  ]
  access_log_config = [
    { log_project = alicloud_log_project.default.name, log_store = alicloud_log_store.default.name }
  ]
  acl_name             = "tf_acl_name"
  server_group_name    = "acl_server_group_name"
  listener_port        = 80
  listener_description = "CreatedByTerraform"
}

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 to open an issue on this repo.

Authors

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

License

Apache 2 Licensed. See LICENSE for full details.

Reference