awslabs / aws-codedeploy-plugin

Jenkins plugin for AWS CodeDeploy

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How to add/select Green tags for EC2 instances in CodeDeploy plugin?

karanspot opened this issue · comments

Hi,

We are trying to use the plugin to trigger CodeDeploy blue-green deployment for EC2 instances.
The blue instance tags are added in the Deployment group configuration.
To select the green instances we have to add the green tags during deployment as shown in the console screenshot:
Green tagged Instances

But this option isn't available in the Jenkins plugin:
Jenkins Plugin1

As a result, all the deployments are failing due to no available Green instances:
Code Deploy Failure

Is there a way to add the Green tags for EC2 instances, we cannot use ASG hence we have to stick with EC2 instances but the plugin doesn't seem to have the option to add these green tags.

Thanks!