provider/aws: Log removal of INACTIVE ECS service

pull/3828/head
Radek Simko 11 years ago
parent 9683896480
commit bcd63f62a3

@ -163,6 +163,7 @@ func resourceAwsEcsServiceRead(d *schema.ResourceData, meta interface{}) error {
// Status==INACTIVE means deleted service
if *service.Status == "INACTIVE" {
log.Printf("[DEBUG] Removing ECS service %q because it's INACTIVE", service.ServiceArn)
d.SetId("")
return nil
}

Loading…
Cancel
Save