Reputation: 3271
I am trying to perform CI/CD workflow on ec2 instance using aws codedeploy but I am getting below error at the time of deployment:
The CodeDeploy agent did not find an AppSpec file within the unpacked revision directory at
revision-relative path "appspec.yml".
How can I create appsepc.yml
file in order to succeed deployment.As I doing it first time.Someone let me know.
Upvotes: 2
Views: 1128
Reputation: 541
appspec.yml file is what instructs the codedeploy agent on what are the steps to run on the EC2 instances. You can find the detailed structure and example provided by AWS
Upvotes: 1
Reputation: 238111
Exact setup of appsepc.yml is use-case specific, and it has to be tailored to your application requirements. Thus you are the only one who can create it.
But AWS provides examples of such files:
Upvotes: 1