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

nutritious-battery-42762

05/10/2021, 4:37 PM
Hey, how do i use an existing ecs cluster by cluster id?
b

bored-oyster-3147

05/10/2021, 4:57 PM
n

nutritious-battery-42762

05/10/2021, 5:43 PM
i need an instance of a aws.ecs.Cluster
so unfortunately that won't work
need it to pass to a fargate service
b

bored-oyster-3147

05/10/2021, 6:08 PM
oh I assume you're using
awsx
then? Maybe that library provides a method for getting a cluster.
n

nutritious-battery-42762

05/10/2021, 6:08 PM
yes
haven't found a way as yet
b

bored-oyster-3147

05/10/2021, 6:11 PM
Here is a link to a thread where this question was previously asked: https://pulumi-community.slack.com/archives/C84L4E3N1/p1617046323498000