https://pulumi.com logo
#aws
Title
# aws
b

best-receptionist-98400

05/11/2020, 12:19 PM
Good Morning - I had a question in regards to attaching a new or existing instance to an ELB using Pulumi. In the docs, it seems like you can do this out of the box with
TargetGroupAttachment
for ALBs and NLBs. For ELBs though, it says to see the Terraform provider. So does that mean, for this piece I need to use terraform rather than Pulumi? https://www.pulumi.com/docs/reference/pkg/aws/applicationloadbalancing/targetgroupattachment/
b

broad-dog-22463

05/11/2020, 12:22 PM
Hi @best-receptionist-98400 We autogenerate our SDKs based on the upstream Terraform provider so that is an ingested comment 😕 I can fix that specific comment up - for your ELB usecase, you will need to use the ELB package. This package handles the AWSClassic loadbaancing https://www.pulumi.com/docs/reference/pkg/aws/elb/attachment/
sorry for the confusion!!
b

best-receptionist-98400

05/11/2020, 12:26 PM
Ah, I see! Well thank you for that, @broad-dog-22463!
b

broad-dog-22463

05/11/2020, 12:27 PM
It looks like a few of these got through the SDK generation so I will ensure we remove them - thanks for being able to help us find it
b

best-receptionist-98400

05/11/2020, 12:27 PM
For sure! Thanks for fixing those up.