Terraform module which creates ALB instance and http listener on Alibaba Cloud.
English | 简体中文
Terraform module which creates ALB instance and http listener on Alibaba Cloud.
These types of resources are supported:
Name | Version |
---|---|
terraform | > = 0.13.0 |
alicloud | > = 1.131.0 |
Name | Version |
---|---|
alicloud | > = 1.131.0 |
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"
}
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.
Created and maintained by Alibaba Cloud Terraform Team(terraform@alibabacloud.com)
Apache 2 Licensed. See LICENSE for full details.