i dont want to hard code my target group name

Open
#77 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
35/100
Issue type
Feature
Clarity
Needs clarification
Activity status
Stale
Tech stack
aws, shell
Domain
cloud

Research direction

Start by locating the sample script that detaches instances from a classic ELB and review how it obtains instance, region, and load balancer metadata. Then compare the ELBv2 target-group flow and determine what metadata or AWS API lookup would remove the hard-coded target group name. Done means the script can detach the current instance without a manually supplied target group.

Written by the indexing model from the issue text.

Description

while i am detaching instance from classic elb , i get the instance id ,region and elb name from the meta data so in that case there is no need to give elb name ,same script executes and detaches from any instance .
how can i do this for elbv2?

Dominant language
Shell
Stars
639
Forks
777
PR merge metrics
No merged PRs in 30d

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from aws-samples/aws-codedeploy-samples

All issues in aws-samples/aws-codedeploy-samples

Similar issues

More Shell/Bash issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.