Q49 — AWS DVA-C02 第1章

第 49/100 题 | ← 返回第1章

为了飞AWS Codedeploy 工作,appspec .yml文件应该放在据里?

正确答案: A. 在应用程序源代码目录结构的根目录

解析

参考: Https://docs.aws.amazon.com/codedeploy/atest/userguide/reference-appspec-file.html AppSpec files on an Ec2/on-premises compute platform If your application uses the EC2/On-Premises compute platform, the Appspec file must be a YAML-formatted file named appspec.ymI and it must be placed in the root of the directory structure of an application's Source code. Otherwise, deployments fail. It is used by CodeDeploy to Determine: What it should install onto your instances from your application Revision in Amazon S3 or Github Which lifecycle event hooks to run in response to deployment lifecycle Events.