mirror of
https://github.com/opentofu/opentofu.git
synced 2025-02-25 18:45:20 -06:00
provider/aws: output the task definition name when errors occur during refresh (#12609)
This commit is contained in:
parent
20c88bcdf4
commit
6adc71a6d4
@ -51,7 +51,7 @@ func dataSourceAwsEcsTaskDefinitionRead(d *schema.ResourceData, meta interface{}
|
|||||||
})
|
})
|
||||||
|
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return err
|
return fmt.Errorf("Failed getting task definition %s %q", err, d.Get("task_definition").(string))
|
||||||
}
|
}
|
||||||
|
|
||||||
taskDefinition := *desc.TaskDefinition
|
taskDefinition := *desc.TaskDefinition
|
||||||
|
Loading…
Reference in New Issue
Block a user