在 Atlas 上运行 terraform apply 并且在 AWS 路由 53 上失败时,我遇到以下错误:
Apply execution has failed
The apply encountered an errored while executing 10 minutes ago. State information was persisted and subsequent applies will continue making changes in a safe way.
Terraform v0.6.11
Setting up remote state...
Downloading remote modules...
Refreshing Terraform state prior to plan...
aws_route53_zone.zone: Destroying...
module.prod_website.aws_iam_access_key.website: Creating...
secret: "" => "<computed>"
ses_smtp_password: "" => "<computed>"
status: "" => "<computed>"
user: "" => "domain.tld"
module.prod_website.aws_iam_access_key.website: Creation complete
Error applying plan:
1 error(s) occurred:
* aws_route53_zone.zone: HostedZoneNotEmpty: The specified hosted zone contains non-required resource record sets and so cannot be deleted.
status code: 400, request id: 8305ce48-cab3-11e5-92ae-d57244aa6db1
Terraform does not automatically rollback in the face of errors.
Instead, your Terraform state file has been partially updated with
any resources that successfully completed. Please address the error
above and apply again to incrementally change your infrastructure.
如何确定托管区域的 ID 以便我可以删除它?或者,我怎样才能找出正在使用的资源并污染该资源?此应用程序的存储库在这里:https ://github.com/zinedistro/infrastructure
编辑:这是完整的调试日志