https://pulumi.com logo
#general
Title
# general
a

ancient-match-5870

11/12/2018, 3:58 PM
Hello 🙂 I have a question regarding AWS
TargetGroups
. I want to create a target group and register an instance I've created in a previous step:
Copy code
new aws.elasticloadbalancingv2.TargetGroup(`${config.fqsn}-access-tg`, {
  vpcId: config.vpc,
  protocol: "HTTPS",
  port: 8443,
  targetType: "instance",
  healthCheck: {
    protocol: "HTTPS",
    port: "traffic",
    path: "/"
  },
});
Unfortunately, there is no
targets
attribute in the
TargetGroupArgs
. Chances are that I miss something. Any help is highly appreciated 🙂
w

white-balloon-205

11/12/2018, 4:30 PM
a

ancient-match-5870

11/13/2018, 8:47 AM
Ah awesome. Thanks @white-balloon-205 – Will give it a try today. 🙂