awslabs / awslabs/aws-codedeploy-plugin

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

Open
#119 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
156
Forks
130
PR merge metrics
No merged PRs in 30d

Description

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!

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.