sky-uk / terraform-provider-infoblox

Terraform Infoblox provider
BSD 3-Clause "New" or "Revised" License
15 stars 10 forks source link

Is it possible to have multiple targets for an SRV record? #68

Closed joshrosso closed 7 years ago

joshrosso commented 7 years ago

Any ways to do multiple targets on an srv record: https://github.com/sky-uk/terraform-provider-infoblox/blob/master/infoblox/resource_srv_record.go#L30-L33

Basically I have 3 CNAMEs I'd like to associate with an SRV. All are on the same port.

no-acl commented 7 years ago

Hi, unfortunately Infoblox does not allow you to define multiple targets from an SRV record. You would have to define a SRV record for each target.

joshrosso commented 7 years ago

Thanks @craig-duffin.

I may have misunderstood how infoblox handles SRV records. Seems, as you suggested, I can add multiple srv records with the same name, each containing unique targets.