appSpec.yml file for aws codedeploy

0

Hello, Do we always require appspec.yaml file in our repository to use AWS codedeploy?

已提問 1 年前檢視次數 1216 次
2 個答案
2

No, the appspec.yaml file is not always required to use AWS CodeDeploy. The appspec.yaml file is used to specify the deployment actions to be taken by CodeDeploy, but it is only necessary if you are using the "Application" deployment type. If you are using the "Blue/Green" or "In-place" deployment types, the appspec.yaml file is not required.No, appspec.yaml is not always required for AWS CodeDeploy. It's only necessary for "Application" deployment type.

已回答 1 年前
  • Thanks for answer I think the application is default but there are two types of deployments 1. in-place 2. blue-green (mainly for load balancing) can you please answer why the YAML file needs for in-place and not blue-gree Thanks.

1
已接受的答案

It's the appspec.yaml file that defines the deployment processes in your project. If you dont have that I'm not sure how you would:

  • Map the source files in your application revision to their destinations on the instance.
  • Specify custom permissions for deployed files.
  • Specify scripts to be run on each instance at various stages of the deployment process (hooks).

The appspec.yaml is applicable whether doing blue/green or in-place deployment.

專家
已回答 1 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南