Skip to content

Latest commit

 

History

History
77 lines (49 loc) · 3.52 KB

TencentCloudRunConfig-not-required.mdx

File metadata and controls

77 lines (49 loc) · 3.52 KB
  • associate_public_ip_address (bool) - Whether allocate public ip to your cvm. Default value is false.

  • source_image_id (string) - The base image id of Image you want to create your customized image from.

  • source_image_name (string) - The base image name of Image you want to create your customized image from.Conflict with SourceImageId.

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

  • instance_name (string) - Instance name.

  • disk_type (string) - Root disk type your cvm will be launched by, default is CLOUD_PREMIUM. you could reference Disk Type for parameter taking.

  • disk_size (int64) - Root disk size your cvm will be launched by. values range(in GB):

    • LOCAL_BASIC: 50
    • Other: 50 ~ 1000 (need whitelist if > 50)
  • data_disks ([]TencentCloudDataDisk) - Add one or more data disks to the instance before creating the image. Note that if the source image has data disk snapshots, this argument will be ignored, and the running instance will use source image data disk settings, in such case, disk_type argument will be used as disk type for all data disks, and each data disk size will use the origin value in source image.

  • include_data_disks (boolean) - Whether to include data disks in the resulting image. Defaults to true.

  • vpc_id (string) - Specify vpc your cvm will be launched by.

  • vpc_name (string) - Specify vpc name you will create. if vpc_id is not set, Packer will create a vpc for you named this parameter.

  • subnet_id (string) - Specify subnet your cvm will be launched by.

  • subnet_name (string) - Specify subnet name you will create. if subnet_id is not set, Packer will create a subnet for you named this parameter.

  • cidr_block (string) - Specify cider block of the vpc you will create if vpc_id not set

  • subnect_cidr_block (string) - Specify cider block of the subnet you will create if subnet_id not set

  • internet_charge_type (string) - Internet charge type of cvm, values can be TRAFFIC_POSTPAID_BY_HOUR, BANDWIDTH_POSTPAID_BY_HOUR, BANDWIDTH_PACKAGE

  • internet_max_bandwidth_out (int64) - Max bandwidth out your cvm will be launched by(in MB). values can be set between 1 ~ 100.

  • bandwidth_package_id (string) - When internet_charge_type is BANDWIDTH_PACKAGE, bandwidth_package_id is required

  • security_group_id (string) - Specify securitygroup your cvm will be launched by.

  • security_group_name (string) - Specify security name you will create if security_group_id not set.

  • user_data (string) - userdata.

  • user_data_file (string) - userdata file.

  • host_name (string) - host name.

  • cam_role_name (string) - CAM role name.

  • run_tags (map[string]string) - Tags to apply to the instance that is launched to create the image. These tags are not applied to the resulting image.

  • run_tag ([]{key string, value string}) - Same as run_tags but defined as a singular repeatable block containing a key and a value field. In HCL2 mode the dynamic_block will allow you to create those programatically.

  • ssh_private_ip (bool) - SSH Private Ip