This message was deleted.
s
This message was deleted.
s
CF code includes “LatestECSOptimizedAMI” and “ECS LaunchTemplate” which I can’t seem to find how to define in Pulumi.
I also tried to import the manually created resource to my pulumi project via
pulumi import -f resources.json
where
resources.json
contains
Copy code
{
  "resources": [
    {
      "type": "aws:ecs/cluster",
      "name": "test-cluster"
    }
  ]
}
But that also fails.
I’m basically trying everything possible to get some code for provisioning a AWS ECS-EC2 cluster.
b
s
Thanks @billowy-army-68599! Will try that!
Sorry for the late reply. Unfortunately I’m not getting success following your example. I get this:
Copy code
Diagnostics:
  pulumi:pulumi:Stack (***):
    error: update failed
 
  aws:cloudformation:Stack (asg):
    error: 1 error occurred:
    	* creating urn:pulumi:***::***-ec2::awsx:x:ecs:Cluster$awsx:x:autoscaling:AutoScalingGroup$aws:cloudformation/stack:Stack::asg: 1 error occurred:
    	* error waiting for CloudFormation Stack creation: failed to create CloudFormation stack, rollback requested (ROLLBACK_COMPLETE): ["The following resource(s) failed to create: [Instances]. Rollback requested by user." "Received 0 SUCCESS signal(s) out of 1.  Unable to satisfy 100% MinSuccessfulInstancesPercent requirement"]
b
you'll need to debug why the cfn signal isn't being sent
s
Ok. Thanks.