Terraform module for creating ECS GPU instance(s) on Alibaba Cloud.
terraform-alicloud-ecs-gpu-instance
English | 简体中文
Terraform module which creates ecs gpu instance based on ecs on Alibaba Cloud.
These types of resources are supported:
This module requires Terraform 0.12 and Terraform Provider AliCloud 1.56.0+.
module "ecs_instance" {
source = "terraform-alicloud-modules/ecs-ecs-gpu-instance/alicloud"
region = "cn-hangzhou"
profile ="Your-Profile-Name"
name = "TF-ECS-Instance"
instance_type_family = "ecs.gn6v"
password = "YourPassoword123"
vswitch_id = "vsw-fhuqiexxxxxxxxxxxx"
security_group_ids = ["sg-12345678"]
associate_public_ip_address = true
internet_max_bandwidth_out = 10
instance_charge_type = "PrePaid"
}
- This module using AccessKey and SecretKey are from
profile
andshared_credentials_file
. If you have not set them yet, please install aliyun-cli and configure it.
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 He Guimin(@xiaozhu36, [email protected]) and Yi Jincheng([email protected])
Apache 2 Licensed. See LICENSE for full details.