Terraform | aws |路由53 |记录|错误生成变更集:InvalidChangeBatch

Terraform | aws |路由53 |记录|错误生成变更集:InvalidChangeBatch,terraform,amazon-route53,Terraform,Amazon Route53,在执行terraform plan时,我没有收到任何错误,但在执行terraform apply时,我收到以下错误 地形平面图输出:- + aws_route53_record.alm_route_record1 id: <computed> allow_overwrite: <computed> fqdn:

在执行
terraform plan
时,我没有收到任何错误,但在执行
terraform apply
时,我收到以下错误

地形平面图输出:-

+ aws_route53_record.alm_route_record1
      id:                                        <computed>
      allow_overwrite:                           <computed>
      fqdn:                                      <computed>
      name:                                      "${aws_acm_certificate.acm.domain_validation_options.0.resource_record_name}"
      records.#:                                 <computed>
      ttl:                                       "300"
      type:                                      "${aws_acm_certificate.acm.domain_validation_options.0.resource_record_type}"
      zone_id:                                   "Z2J2U5QM63SJ94"
错误日志:-

aws_route53_record.alm_route_record1:[错误]:生成变更集时出错:InvalidChangeBatch:[试图创建资源记录集[name=”_c12c2dee87ee95f2104e7a94875e5519.ca.tuigroup.com',type='CNAME',但它已经存在] 状态代码:400,请求id:4f145fdb-45a0-11e9-b0f7-4BAF3471F37

点击我页面的WebURL后,它就会显示出来

503服务暂时不可用


我觉得
记录
正在接受现有的CNAME

似乎是2.0出现错误后最新的aws提供商()

请继续使用旧版本,如版本
1.60
,并等待修复

provider "aws" {
  access_key = "${var.access_key}"
  secret_key = "${var.secret_key}"
  region     = "${var.region}"

  version = "~> 1.60"
}
provider "aws" {
  access_key = "${var.access_key}"
  secret_key = "${var.secret_key}"
  region     = "${var.region}"

  version = "~> 1.60"
}