我试图在成功部署后在/var/app/current目录中创建一个文件。我已经在下面创建了一个配置文件,但没有创建该文件。我认为它总是被覆盖,因为文件首先在. 我不想在我的 VCS 中跟踪文件。.ebextensions/tmp/deployment/application
我的配置文件:
# .ebextensions/create_file.config
files:
"/var/app/current/src/webapp/dist/testfile.html":
mode: "000644"
owner: nodejs
group: nodejs
content: |
<!DOCTYPE html>
<html lang="en">
<head>
</head>
<body>
<h1>foo</h1>
<body>
</html>
Run Code Online (Sandbox Code Playgroud)