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

boundless-monkey-50243

01/06/2020, 4:54 PM
How can I turn an existing Fargate cluster into something that can work with
@pulumi/awsx
? I can't find a "getCluster" method or anything.
getDefault
helpfully wants to create one for me, but we've already got existing infrastructure.
h

handsome-truck-95168

01/06/2020, 8:57 PM
Does
aws.ecs.getCluster
help?
b

boundless-monkey-50243

01/07/2020, 5:32 PM
It gives you an
aws.ecs.Cluster
, not an
awsx.ecs.Cluster
I don't think you can pass the former in as replacement for the latter