hashicorp / hashicorp/packer-plugin-tencentcloud

Allow specifying values for "EnhancedService"

Open
#134 1 comment 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Go
Stars
8
Forks
11
PR merge metrics
No merged PRs in 30d

Description

#### Description

Currently, the `EnhancedService` (https://www.tencentcloud.com/document/api/213/15753#enhancedservice) block is omitted completely, leading to all three services being installed (security, monitoring, automation). The documentation says that `AutomationService` defaults to false (https://www.tencentcloud.com/document/api/213/15753#runautomationserviceenabled), but this doesn't seem to be the case in practice, judging by the contents of `cvm_init.sh`:

```bash
# cat cvm_init.sh
cd /qcloud_init/tat_agent_linux_install_1.0.5
./install.sh usevpc
cd /qcloud_init/stargate_linux_install_20210222
./install.sh usevpc
cd /qcloud_init/basic_linux_install_1.2.30
./install.sh usevpc public
cd /qcloud_init/ydeyes_linux_install_5.1.0.118
./install.sh usevpc
ls -l /qcloud_init/ >> /tmp/cvm_init.log
rm -rf /qcloud_init
```

#### Use Case(s)

We want to omit automatic installation of `ydeyes`. This can be done using a checkbox when launching instances manually from the console.

#### Potential configuration

Optional booleans for each of the services

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.