mirror of
https://github.com/opentofu/opentofu.git
synced 2024-12-24 16:10:46 -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 {
|
||||
return err
|
||||
return fmt.Errorf("Failed getting task definition %s %q", err, d.Get("task_definition").(string))
|
||||
}
|
||||
|
||||
taskDefinition := *desc.TaskDefinition
|
||||
|
Loading…
Reference in New Issue
Block a user