简体   繁体   English

AWS Route53 ConflictingDomainExists:是否有办法将同一 VPC 与共享同一父域的多个私有托管区域相关联

[英]AWS Route53 ConflictingDomainExists: is there is a way to associate the same VPC with multiple private hosted zones sharing the same parent domain

is there is a way to associate the same VPC with multiple private hosted zones that are sharing the same parent domain (for example: eu-central-1.amazonaws.com).有没有办法将同一个 VPC 与共享同一个父域的多个私有托管区域相关联(例如:eu-central-1.amazonaws.com)。

I've created the following two private hosted zones to share VPC Interface Endpoints between multiple account from a Centralized Account:我创建了以下两个私有托管区域,以在集中账户的多个账户之间共享 VPC 接口端点:

  • sqs.eu-central-1.amazonaws.com sqs.eu-central-1.amazonaws.com
  • athena.eu-central-1.amazonaws.com athena.eu-central-1.amazonaws.com

when I try to associate the private hosted zones with the same VPC in the centralized account (in eu-central-1 region) using terraform, I'm getting the following error message:当我尝试使用 terraform 将私有托管区域与集中账户(在eu-central-1区域)中的同一 VPC 相关联时,我收到以下错误消息:

Error: error creating Route53 Hosted Zone: ConflictingDomainExists: The VPC vpc-******** in region eu-central-1 has already been associated with the hosted zone Z0491******** with the same domain name.错误:创建 Route53 托管区域时出错:ConflictingDomainExists:区域 eu-central-1 中的 VPC vpc-******** 已与具有相同域的托管区域 Z0491********* 相关联名称。

as both of them are sharing the same parent domain ( eu-central-1.amazonaws.com ).因为它们都共享同一个父域 ( eu-central-1.amazonaws.com )。

Unfortunately in this case it won't be possibile to create a parent domain with multiple subdomains.不幸的是,在这种情况下,不可能创建具有多个子域的父域。

anyone could help?有人可以帮忙吗?

Thanks in advance提前致谢

actually it was my error I tried to associate the same VPC with private hosted zones before disabiling private DNS naming for the VPC interface endpoints.实际上,这是我的错误,我在禁用 VPC 接口端点的私有 DNS 命名之前尝试将同一 VPC 与私有托管区域相关联。

after disabilig it, everthing is working fine and I could be able to associate the VPC with the different private hosted zones禁用它之后,一切正常,我可以将 VPC 与不同的私有托管区域相关联

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM