Skip to content

Commit 2c63ddc

Browse files
committed
update doc
1 parent 412ca35 commit 2c63ddc

File tree

3 files changed

+16
-2
lines changed

3 files changed

+16
-2
lines changed

.web-docs/components/builder/cvm/README.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,10 +128,16 @@ a [communicator](/packer/docs/templates/legacy_json_templates/communicator) can
128128
Default value is `false`.
129129

130130
- `source_image_id` (string) - The base image id of Image you want to create
131+
You can also specify `source_image_family`. If both `source_image` and `source_image_family` are specified, `source_image` takes precedence.
131132
your customized image from.
132133

133134
- `source_image_name` (string) - The base image name of Image you want to create your
134-
customized image from.Conflict with SourceImageId.
135+
customized image from.Conflict with SourceImageId and SourceImageName.
136+
137+
- `source_image_family` (string) - The source image family to use to create the new image from.
138+
The image family always returns its latest image that is not deprecated.
139+
Conflict with SourceImageId and SourceImageName. It takes effect when SourceImageId and SourceImageName are empty.
140+
Example value: business-daily-update.
135141

136142
- `instance_charge_type` (string) - Charge type of cvm, values can be `POSTPAID_BY_HOUR` (default) `SPOTPAID`
137143

builder/tencentcloud/cvm/builder.hcl2spec.go

Lines changed: 2 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs-partials/builder/tencentcloud/cvm/TencentCloudRunConfig-not-required.mdx

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,16 @@
44
Default value is `false`.
55

66
- `source_image_id` (string) - The base image id of Image you want to create
7+
You can also specify `source_image_family`. If both `source_image` and `source_image_family` are specified, `source_image` takes precedence.
78
your customized image from.
89

910
- `source_image_name` (string) - The base image name of Image you want to create your
10-
customized image from.Conflict with SourceImageId.
11+
customized image from.Conflict with SourceImageId and SourceImageName.
12+
13+
- `source_image_family` (string) - The source image family to use to create the new image from.
14+
The image family always returns its latest image that is not deprecated.
15+
Conflict with SourceImageId and SourceImageName. It takes effect when SourceImageId and SourceImageName are empty.
16+
Example value: business-daily-update.
1117

1218
- `instance_charge_type` (string) - Charge type of cvm, values can be `POSTPAID_BY_HOUR` (default) `SPOTPAID`
1319

0 commit comments

Comments
 (0)