If your application uses the EC2/On-Premises compute platform, the AppSpec file must be a YAML-formatted file named appspec.yml and it must be placed in the root of the directory structure of an application's source code.
A) Correct - AWS CodeDeploy expects this file to be in the top-level directory of the deployment package or the repository so that it can read and execute the deployment instructions.
The appspec.yml file should be placed in the root of the application source code directory structure for AWS CodeDeploy to work. This file is a configuration file that specifies the deployment process, including details such as the source files to be copied to the deployment target, the location where these files should be copied, the scripts to be run on the target instance before and after the deployment, and more. When CodeDeploy initiates a deployment, it looks for the appspec.yml file in the root directory of the application source code to determine how the deployment should be performed.
A voting comment increases the vote count for the chosen answer by one.
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one.
So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
LEHUY
Highly Voted 2 years, 7 months agosumanshu
Most Recent 4 months, 1 week agoAsmaZoheb
1 year, 3 months agoCliff_Fei
1 year, 5 months agorcaliandro
1 year, 10 months agoDominicwild12
2 years, 2 months agocloud_collector
2 years, 6 months ago