title: I'm getting a terraform ecs error
body: <p>We are using terraform to import a ECS solution and for some reason, I can not get pass this error. </p>
  
  <p><code>aws_ecs_task_definition.clustername: ClientException: Container.name should not be null or empty. 09-Feb-2017 23:35:1 status code: 400</code></p>
  
  <p>I believe this is coming form this json file, <code>service-prod-server.json</code></p>
  
  <pre><code>#aws_ecs_task_definition
  resource "aws_ecs_task_definition" "cluster-name" {
    family = "cluster-name"
    container_definitions = "${file("task-definitions/service-prod-server.json")}"
  }
  </code></pre>
  
  <p>Here is the top portion of the service-prod-server.json config. I have the name there. </p>
  
  <pre><code>[
    {
      "name": "containername",
      "memory": 7000,
      "image": "imagename",
      "disableNetworking": false,
      "readonlyRootFilesystem": false,
  </code></pre>
  
  <p>I also have this config defined as well. </p>
  
  <pre><code>#aws_ecs_container_definition
  data "aws_ecs_container_definition" "cluster-name" {
    task_definition = "${aws_ecs_task_definition.cluster-name.id}"
    container_name = "containername"
  }
  </code></pre>
  
  <p>Let me know what you guys think </p>