Skip to content

Commit

Permalink
Update alicloud document to add userdata (#14862)
Browse files Browse the repository at this point in the history
* Update Example Usage

Delete an unnecessary option `commodity_code `.

* Update alicloud provider docs to add user_data.
  • Loading branch information
mosuke5 authored and stack72 committed May 29, 2017
1 parent 34b45c5 commit 0938614
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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`.
* `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.
* `user_data` - (Optional) The user data to provide when launching the instance.

## Attributes Reference

Expand All @@ -93,4 +94,4 @@ The following attributes are exported:
* `private_ip` - The instance private ip.
* `public_ip` - The instance public ip.
* `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.

0 comments on commit 0938614

Please sign in to comment.