Open jackivanov opened 6 years ago
Same issue here, creates A record but no SRV...
@javierros Could you take a look at this, please?
I'm having a similar issue. I think it's because I have two VPCs (Production & Test) with private hosted zones for each. Both hosted zones have the same namespace (servicediscovery.internal).
the essd_agent uses ListHostedZonesByNameInput to find the HostedZone to add SRV records and ListHostedZonesByNameInput doesn't seem to return Hosted Zones associated to the VPC from which the ECS Container is running, so it's the agent is trying to add the Production service to the Test Hosted Zone.
https://docs.aws.amazon.com/sdk-for-go/api/service/route53/#ListHostedZonesByNameInput
UPDATE passing a custom domain in ecssd_agent.conf fixed my issue
exec /usr/local/bin/ecssd_agent mydomain.local >> /var/log/ecssd_agent.log 2>&1
How to reproduce:
aws route53 list-resource-record-sets --hosted-zone-id %hostedzoneid%
and see that there are only A records.ecssd_agent continuously shows
adding 1
, but nothing happens