I created a new linux user 'code_deployer' and followed this post implement AWS pipeline for my laravel project, Now I'm getting the below error in aws console
Script at specified location: pipeline_scripts/stop_server.sh run as user code_deployer failed with exit code 1 Logs LifecycleEvent - ApplicationStop Script - pipeline_scripts/stop_server.sh [stderr]Password: su: Authentication failure*
Tried after commenting all script in pipeline_scripts/stop_server.sh, still not working.
AWS code deploy agent is running on user 'code_deployer'
Thank you for your comment. We'll review and update the Knowledge Center article as needed.
Since long comments aren't allowed here, I made a new post in medium explaining how it worked for me. It may be helpful to someone else.
- Accepted Answerasked a year ago
- Accepted Answerasked 5 days ago
- AWS OFFICIALUpdated a year ago
- How do I make sure that the CodeDeploy agent is deployed when I use CloudFormation to provision Amazon EC2 instances?AWS OFFICIALUpdated 2 years ago