Creates an SRV (service) record in Address Manager with a specific host record.
Attributes
| Attribute | Required/Optional | Description | Example |
|---|---|---|---|
configuration |
Optional | The name of the BlueCat Configuration to be used for the SRV record. If this is not supplied, the Gateway default configuration name is used. | terraform_demo |
view |
Optional | The view that contains the details of the zone. If this is not supplied, the Gateway default view name is used. | Internal |
zone |
Optional | The Zone in which you want to manage the SRV record. | bluecatnetworks.com |
absolute_name |
Required | The name of the SRV record. If the Zone is not provided, this must be the fully-qualified domain name (FQDN). | _sip.tcp.bluecatnetworks.com |
linked_record |
Required | The record name that will be linked to the SRV record. | sipserver1.bluecatnetworks.com |
weight |
Required | An integer value that indicates the relative weight for a host. This value is considered when hosts have the same Priority value. | 60 |
port |
Optional | The port on which the service is found. | 5060 |
priority |
Required | An integer value that indicates the priority of the host. Lower values indicate a higher preference. | 10 |
name |
Optional | The name that Terraform will use to update the record's FQDN.
Note: After using this parameter, the Absolute name must
match the newly-updated name.
|
sipserver10 |
ttl |
Optional | The TTL (time to live) value of the record, in ms. The default value is -1. | 300 |
properties |
Optional | The properties of the host record. | attribute=value |
to_deploy |
Optional |
Whether or not to deploy the resource to the BDDS.
|
Yes
|
depends_on |
Example of an SRV Record resource
resource "bluecat_srv_record" "srv_record" {
configuration = "terraform_demo"
view = "example"
zone = "gateway.com"
absolute_name = "webapp.bluecatnetworks.com"
linked_record = "sipserver1.bluecatnetworks.com"
weight = 70
port = 5060
priority = 10
name = sipserver10
ttl = 1
properties = "comment=My comment"
}