title: Terraform fails to create AWS Route53 record, but I can create it manually?
body: <p>Terraform v0.12.x</p>
  <p>I'm trying to create a Route53 record with this script, which aims to create an A record that's aliased to an ALB.</p>
  <pre><code>data &quot;aws_route53_zone&quot; &quot;mycompany_com&quot; {
    name         = &quot;mycompany.com.&quot;
    private_zone = true
  }
  
  resource &quot;aws_route53_record&quot; &quot;jenkins_master_green&quot; {
    zone_id = data.aws_route53_zone.mycompany_com.zone_id
    name    = &quot;jenkins-green.${data.aws_route53_zone.mycompany_com.name}&quot;
    type    = &quot;A&quot;
    alias {
      name = aws_lb.jenkins_master_green.dns_name
      zone_id = data.aws_route53_zone.mycompany_com.zone_id
      evaluate_target_health = false
    }
  }
  </code></pre>
  <p>The plan shows the correct values I expect</p>
  <pre><code>$ terraform plan -out out.output
  </code></pre>
  <p>But when I apply the plan I get</p>
  <pre><code>$ terraform apply out.output
  aws_route53_record.jenkins_master_green: Creating...
  
  Error: [ERR]: Error building changeset: InvalidChangeBatch: [Tried to create an alias that targets &lt;redacted&gt;.us-east-1.elb.amazonaws.com., type A in zone &lt;redacted&gt;, but the alias target name does not lie within the target zone, Tried to create an alias that targets &lt;redacted&gt;.us-east-1.elb.amazonaws.com., type A in zone &lt;redacted&gt;, but that target was not found]
      status code: 400, request id: 2cf7384d-fa16-4828-854b-ea3e56cc0754
  </code></pre>
  <p>If I go to the AWS Route53 console, I can create the record. What am I missing?</p>