aws-code-deploy

The deployment to Lightsail instances failed because no instances were found for your deployment group

旧街凉风 提交于 2020-12-12 06:15:31
问题 Following from Marci's answer, I went on and tried to deploy from GitHub using the steps he mentions (adapting the region) but I'm getting The deployment failed because no instances were found for your deployment group. Check your deployment group settings to make sure the tags for your Amazon EC2 instances or Auto Scaling groups correctly identify the instances you want to deploy to, and then try again. According to Gabriel in 2017 Lightsail is intended for smaller projects and doesn't

aws codedeploy git revision during deploy

最后都变了- 提交于 2020-12-11 09:09:45
问题 I am running some test with AWS CodeDeploy service and managed to deploy my app from github, so far so good. But now I need to git revision that is deployed in the AfterInstall hook. Is there a way to get the git revision? Already looked in the deployment-archive dir but it looks like the agent is doing a git export since there is no .git directory. 回答1: To get the specific revision deployed, you'll have to pull the deployment details from CodeDeploy as it's not currently exposed to hook