Hello, I am using Pulumi and Localstack to run a s...
# general
a
Hello, I am using Pulumi and Localstack to run a stack. I'm running into a problem with an ECS cluster. I start it using this code and it starts succesfully.
Copy code
const ecsCluster = new aws.ecs.Cluster(
    'test',
    {
      name: 'test',
    },
    {
      provider,
    },
  );
awslocal ecs describe-clusters --cluster test --region eu-central-1
shows this
Copy code
{
  "clusters": [
    {
      "clusterArn": "arn:aws:ecs:eu-central-1:000000000000:cluster/test",
      "clusterName": "test",
      "status": "ACTIVE",
      "registeredContainerInstancesCount": 0,
      "runningTasksCount": 0,
      "pendingTasksCount": 0,
      "activeServicesCount": 0
    }
  ],
  "failures": []
}
But when I do
pulumilocal down
I get this error
Copy code
error: deleting urn:pulumi:localstack::Development::aws:ecs/cluster:Cluster::test: 1 error occurred:
    	* error waiting for ECS Cluster (arn:aws:ecs:eu-central-1:000000000000:cluster/test) to become Deleted: couldn't find resource (21 retries)
Even though it does exist. It does however get deleted properly