Skip to main content
Version: v1.7



Based on Terraform module, create ECS instances on Ali cloud to achieve one-click deployment of cloud marketplace Tensorflow.


create_instanceWhether to create ecs instance.boolfalse
deletion_protectionWhether enable the deletion protection or not. 'true': Enable deletion protection. 'false': Disable deletion protection.boolfalse
descriptionDescription of the instance, This description can have a string of 2 to 256 characters, It cannot begin with http:// or https://. Default value is null.stringfalse
ecs_instance_nameThe name of ECS Instance.stringfalse
ecs_instance_passwordThe password of ECS instance.stringfalse
ecs_instance_typeThe instance type used to launch ecs instance.stringfalse
force_deleteIf it is true, the 'PrePaid' instance will be change to 'PostPaid' and then deleted forcibly. However, because of changing instance charge type has CPU core count quota limitation, so strongly recommand that 'Don't modify instance charge type frequentlly in one month'.boolfalse
image_idThe image id used to launch one ecs instance. If not set, a fetched market place image by product_keyword will be used.stringfalse
internet_charge_typeThe internet charge type of ECS instance. Choices are 'PayByTraffic' and 'PayByBandwidth'.stringfalse
internet_max_bandwidth_outThe maximum internet out bandwidth of ECS instance.numberfalse
private_ipConfigure ECS Instance private IP address.stringfalse
product_keywordThe name keyword of Market Product used to fetch the specified product image.stringfalse
product_suggested_priceThe suggested price of Market Product used to fetch the specified product image.numberfalse
product_supplier_name_keywordThe name keyword of Market Product supplier name used to fetch the specified product image.stringfalse
profile(Deprecated from version 1.1.0) The profile name as set in the shared credentials file. If not set, it will be sourced from the ALICLOUD_PROFILE environment variable.stringfalse
region(Deprecated from version 1.1.0) The region used to launch this module resources.stringfalse
resource_group_idThe Id of resource group which the ECS instance belongs.stringfalse
security_group_idsA list of security group ids to associate with ECS.list(string)false
shared_credentials_file(Deprecated from version 1.1.0) This is the path to the shared credentials file. If this is not set and a profile is specified, $HOME/.aliyun/config.json will be used.stringfalse
skip_region_validation(Deprecated from version 1.1.0) Skip static validation of region ID. Used by users of alternative AlibabaCloud-like APIs or users w/ access to regions that are not public (yet).boolfalse
system_disk_categoryThe system disk category used to launch one ecs instance.stringfalse
system_disk_sizeThe system disk size used to launch ecs instance.numberfalse
tagsA mapping of tags to assign to the
vswitch_idThe virtual switch ID to launch ECS instance in VPC.stringfalse
writeConnectionSecretToRefThe secret which the cloud resource connection will be written to.writeConnectionSecretToReffalse


nameThe secret name which the cloud resource connection will be written to.stringtrue
namespaceThe secret namespace which the cloud resource connection will be written to.stringfalse