Closed tungbq closed 10 months ago
Src OK after granting manually
Add connection manually
no identity-based policy allows the codedeploy:CreateDeployment action
+ {
+ Action = "codedeploy:*"
+ Effect = "Allow"
+ Resource = "*"
},
The deployment can’t start because your deployment configuration requires a minimum of 1 healthy instances, but there are only 1 instances in your deployment group. Adjust your deployment configuration settings to reduce the required number of healthy instances or increase the number of instances in this deployment group, and then try again.
Pending too long:
CodeDeploy agent was not able to receive the lifecycle event. Check the CodeDeploy agent logs on your host and make sure the agent is running and can connect to the CodeDeploy server.
Check sudo service codedeploy-agent status
Bug - Running module scripts-user (<module 'cloudinit.config.cc_scripts_user' from '/usr/lib/python3.9/site-packages/cloudinit/config/cc_scripts_user.py'>) faile Indicates user-data runs failed
Issue with ec2-userdata script? check
It works The AWS CodeDeploy agent is running as PID 2441
Pipeline OK now, cheers!
https://docs.aws.amazon.com/codepipeline/latest/userguide/tutorials-simple-codecommit.html