How to register service instance to Cloud Map Namespace?


I would register dns record to the hosted zone managed by AWS Cloud Map.
In the Terraform document, there is no resource that is equivalent to the command aws servicediscovery register-instance.

Does anyone know how to execute this command using Terraform?

Yoshiki Nishikimi.

Hello @nishikimi,

We have four resources for the AWS Service Discovery items. Do any of those resources work for your use case? If not, can I get an example of what you’re trying to set up?


Taylor Dolezal