https://github.com/servian/TechChallengeApp几个坑,listen host 要选0.0.0.0os environment 为 VTT_+ 大写变量名 能覆盖 config文件里的变量RDS 创建 DB 为postgres 9.6 默认dbname有postgres 然后要用updatedb -s命令来注入测试数据 不然rds会报权限错误我已写了一份terraform脚本 仅供参考https://github.com/threemay/ServianTest