我想从 .ebextentions/td-agent.conf 归档到 /etc/td-agent/td-agent.conf。但它不起作用并且低于错误。
如果您看到附加图像,.ebextentions 中有 3 个文件。我在 01-main.config 中放了复制命令。
---
container_commands:
01_cron_job:
command: "touch /tmp/is_leader"
leader_only: true
01_tdconfcopy_job:
command: "yes | cp .ebextensions/td-agent.conf /etc/td-agent/td-agent.conf"
错误如下
Command failed on instance. Return code: 1 Output: cp: cannot create regular file '/etc/td-agent/td-agent.conf': No such file or directory