Update alicloud document to add userdata (#14862)

* Update Example Usage

Delete an unnecessary option `commodity_code `.

* Update alicloud provider docs to add user_data.
This commit is contained in:
mosuke5 2017-05-29 23:01:20 +09:00 committed by Paul Stack
parent 34b45c5ad8
commit 093861492d
1 changed files with 2 additions and 1 deletions

View File

@ -75,6 +75,7 @@ On other OSs such as Linux, the host name can contain a maximum of 30 characters
* `instance_charge_type` - (Optional) Valid values are `PrePaid`, `PostPaid`, The default is `PostPaid`. * `instance_charge_type` - (Optional) Valid values are `PrePaid`, `PostPaid`, The default is `PostPaid`.
* `period` - (Optional) The time that you have bought the resource, in month. Only valid when instance_charge_type is set as `PrePaid`. Value range [1, 12]. * `period` - (Optional) The time that you have bought the resource, in month. Only valid when instance_charge_type is set as `PrePaid`. Value range [1, 12].
* `tags` - (Optional) A mapping of tags to assign to the resource. * `tags` - (Optional) A mapping of tags to assign to the resource.
* `user_data` - (Optional) The user data to provide when launching the instance.
## Attributes Reference ## Attributes Reference
@ -93,4 +94,4 @@ The following attributes are exported:
* `private_ip` - The instance private ip. * `private_ip` - The instance private ip.
* `public_ip` - The instance public ip. * `public_ip` - The instance public ip.
* `vswitch_id` - If the instance created in VPC, then this value is virtual switch ID. * `vswitch_id` - If the instance created in VPC, then this value is virtual switch ID.
* `tags` - The instance tags, use jsonencode(item) to display the value. * `tags` - The instance tags, use jsonencode(item) to display the value.