Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(ApplicationTargetGroup): (Is not possible to attach an instance) #29080

Closed
parraletz opened this issue Feb 12, 2024 · 1 comment
Closed

(ApplicationTargetGroup): (Is not possible to attach an instance) #29080

parraletz opened this issue Feb 12, 2024 · 1 comment
Labels
@aws-cdk/aws-elasticloadbalancingv2 Related to Amazon Elastic Load Balancing V2 bug This issue is a bug. needs-triage This issue or PR still needs to be triaged.

Comments

@parraletz
Copy link

parraletz commented Feb 12, 2024

Describe the bug

I try to attach an instance to the target group

The output of CDK deploy:

Screenshot 2024-02-12 at 7 43 54 a m

Expected Behavior

Instance attached to the Target Group

Current Behavior

Instance is not attached to the target group

Reproduction Steps

Ive wrote the following code:

   const harborTargetGroup = new elbv2.ApplicationTargetGroup(
      this,
      'harbor-target-group',
      {
        protocol: elbv2.ApplicationProtocol.HTTP,
        port: 80,
        vpc: vpc,
        targetType: elbv2.TargetType.INSTANCE,
        targets: [
          new elasticloadbalancingv2_targets.InstanceTarget(harborInstance, 80),
        ],
      }
    )

Possible Solution

No response

Additional Information/Context

No response

CDK CLI Version

2.127.0

Framework Version

No response

Node.js Version

v20.10.0

OS

macOS

Language

TypeScript

Language Version

5.3.3

Other information

No response

@parraletz parraletz added bug This issue is a bug. needs-triage This issue or PR still needs to be triaged. labels Feb 12, 2024
@github-actions github-actions bot added the @aws-cdk/aws-elasticloadbalancingv2 Related to Amazon Elastic Load Balancing V2 label Feb 12, 2024
Copy link

⚠️COMMENT VISIBILITY WARNING⚠️

Comments on closed issues are hard for our team to see.
If you need more assistance, please either tag a team member or open a new issue that references this one.
If you wish to keep having a conversation with other community members under this issue feel free to do so.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
@aws-cdk/aws-elasticloadbalancingv2 Related to Amazon Elastic Load Balancing V2 bug This issue is a bug. needs-triage This issue or PR still needs to be triaged.
Projects
None yet
Development

No branches or pull requests

1 participant