Skip to content

alibabacloud-automation/terraform-alicloud-ecommerce-elasticsearch

Repository files navigation

Alicloud E-Commerce&Elasticsearch Terraform Module On Alibaba Cloud

terraform-alicloud-ecommerce-elasticsearch

English | 简体中文

This module is used to create an elasticsearch infrastructure serving E-Commerce in Alibaba cloud.

Usage

module "example" {
  source   = "terraform-alicloud-modules/e-commerce-elasticsearch/alicloud"
  ecs_name = "tf-e-commerce-elasticsearch"
}

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_db_account.account resource
alicloud_db_account_privilege.privilege resource
alicloud_db_database.db resource
alicloud_db_instance.rds resource
alicloud_eip_address.eip resource
alicloud_eip_association.eip_asso resource
alicloud_instance.instance resource
alicloud_security_group.group resource
alicloud_security_group_rule.http resource
alicloud_security_group_rule.icmp resource
alicloud_security_group_rule.rdp resource
alicloud_security_group_rule.ssh resource
alicloud_vpc.vpc resource
alicloud_vswitch.vswitch resource

Inputs

Name Description Type Default Required
availability_zone The Zone to start the instance in. string "" no
availability_zones Set of available zones used to launch several new vswitches. list(string) [] no
cidr_blocks Set of cidr blocks used to launch several new vswitches. list(string) [] no
db_account_type Privilege type of account. string "Normal" no
db_character_set Character set. string "utf8" no
db_name Name of the database requiring a uniqueness check. string "" no
db_privilege The privilege of database. string "ReadWrite" no
db_storage_type The DB instance storage type. string "cloud_essd" no
description The security group description. string "" no
disk_category Valid values are ephemeral_ssd, cloud_efficiency, cloud_ssd, cloud_essd, cloud. string "cloud_efficiency" no
ecs_charge_type Valid values are PrePaid, PostPaid, The default is PostPaid. string "PostPaid" no
ecs_count The number of instances to be created. number 1 no
ecs_name The name of the ECS. string "" no
ecs_password Password to an instance is a string of 8 to 30 characters. string "" no
ecs_type The type of instance to start. string "" no
eip_internet_charge_type The specification of the eip internet charge type. string "PayByBandwidth" no
eip_isp The ISP of EIP address. string "BGP" no
eip_payment_type The payment type of EIP address. string "PayAsYouGo" no
engine The specification of the engine. string "MySQL" no
engine_version The specification of the engine version. string "5.7" no
http_port_range The port range of HTTP rule. string "80/80" no
icmp_port_range The port range of ICMP rule. string "-1/-1" no
image_id The Image to use for the instance. string "" no
instance_charge_type Valid values are Prepaid, Postpaid, Default to Postpaid. string "Postpaid" no
instance_storage The specification of the instance storage. string "100" no
instance_type The specification of the rds instance type. string "" no
internet_charge_type Internet charge type of the instance, Valid values are PayByBandwidth, PayByTraffic. string "PayByTraffic" no
internet_max_bandwidth_out Maximum outgoing bandwidth to the public network, measured in Mbps (Mega bit per second). number 0 no
name The name of module. string "" no
nic_type Network type, can be either internet or intranet, the default value is internet. string "intranet" no
rdp_port_range The port range of RDP rule. string "3389/3389" no
rds_account_name Operation account requiring a uniqueness check. string "" no
rds_account_pwd Operation password. string "" no
rds_zone_id The Zone to launch the DB instance. string "" no
rule_policy The policy of rule. string "accept" no
rule_priority The priority of rule. number 1 no
rule_type The type of rule. string "ingress" no
security_group_name The name of the security group. string "" no
ssh_port_range The port range of SSH rule. string "22/22" no
system_disk_size Size of the system disk, measured in GiB. number 100 no
vpc_cidr The secondary CIDR blocks for the VPC. string "" no
vpc_name The name of the VPC. string "" no

Outputs

Name Description
availability_zones The availability zone of the ECS instance.
ecs_name The name of the ECS instance.
instance_ids The ID of the ECS instance.

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([email protected])

License

MIT Licensed. See LICENSE for full details.

Reference