Bind a domain to a cloud

Hello,
Is there a way to bind network domain to clouds, via API or terraform ? (didn’t find in the doc)

regards,

Matthieu

You can do this using the API to update a cloud (https://apidocs.morpheusdata.com/reference/updateclouds) using the following JSON payload:

{
   "zone":{
      "networkDomain":{
         "id": <id-of-network-domain>           # e.g. integer representing the ID of the domain 
      }
   }
}

Hope this helps! :slight_smile:

1 Like

yes thank you Uthman