Hello I'm trying to use externally managed ECS clu...
# aws
p
Hello I'm trying to use externally managed ECS cluster in my stack, without importing it, in Pulumi TS. To do that, I first call
getCluster
with the cluster name and then pass the received
id
property to the
aws.ecs.Cluster.get
call. (After that, I wrap it with
awsx.ecs.Cluster
, but I am not sure this is related to the problem) The cluster fails to load with 'InvalidParameterException: Unsupported resource type: cluster' error. What's strange is that I see that
id
and
arn
fields returned from
getCluster
are the same, which is unusual - I'd expect the
id
to contain some Pulumi-specific string in the 'urn:...' format. Is there anything I am missing?
While the original problem still persists, I found that I can load awsx cluster by name.