equinix_fabric_precision_time_service (Resource)
Fabric V4 API compatible resource allows creation and management of Equinix Fabric Precision Time Service
Additional Documentation:
Example Usage
resource "equinix_fabric_precision_time_service" "ptp" {
type = "PTP"
name = "tf_acc_eptptp_PFCR"
package = {
code = "PTP_STANDARD"
}
connections = [
{
uuid = "<connection_id>"
}
]
ipv4 = {
primary = "191.168.254.241"
secondary = "191.168.254.242"
network_mask = "255.255.255.240"
default_gateway = "191.168.254.254"
}
}
output "ept_service_id" {
value = equinix_fabric_precision_time_service.ptp.id
}
output "ept_service_name" {
value = equinix_fabric_precision_time_service.ptp.name
}
output "ept_service_state" {
value = equinix_fabric_precision_time_service.ptp.state
}
output "ept_service_type" {
value = equinix_fabric_precision_time_service.ptp.type
}
output "ept_service_connection" {
value = equinix_fabric_precision_time_service.ptp.connections
}
output "ept_service_ipv4" {
value = equinix_fabric_precision_time_service.ptp.ipv4
}
Schema
Required
connections(Attributes List) An array of objects with unique identifiers of connections. (see below for nested schema)ipv4(Attributes) An object that has Network IP Configurations for Timing Master Servers. (see below for nested schema)name(String) Name of Precision Time Service. Applicable values: Maximum: 24 characters; Allowed characters: alpha-numeric, hyphens ('-') and underscores ('_')package(Attributes) Precision Time Service Package Details (see below for nested schema)type(String) Choose type of Precision Time Service
Optional
ntp_advanced_configuration(Attributes List) NTP Advanced configuration (see below for nested schema)ptp_advanced_configuration(Attributes) PTP Advanced Configuration (see below for nested schema)timeouts(Attributes) (see below for nested schema)
Read-Only
account(Attributes) Equinix User Account associated with Precision Time Service (see below for nested schema)change_log(Attributes) Details of the last change on the route aggregation resource (see below for nested schema)href(String) Equinix generated Portal link for the created Precision Time Serviceid(String) The unique identifier of the resourceoperation(Attributes) Precision Time Service Operation (see below for nested schema)order(Attributes) Precision Time Order (see below for nested schema)precision_time_price(Attributes) Precision Time Service Price (see below for nested schema)project(Attributes) Equinix Project attribute object (see below for nested schema)state(String) Indicator of the state of this Precision Time Serviceuuid(String) Equinix generated id for the Precision Time Service
Nested Schema for connections
Required:
uuid(String) Equinix Fabric Connection UUID; Precision Time Service will be connected with it
Read-Only:
href(String) Link to the Equinix Fabric Connection associated with the Precision Time Servicetype(String) Type of the Equinix Fabric Connection associated with the Precision Time Service
Nested Schema for ipv4
Required:
default_gateway(String) IPv4 address that establishes the Routing Interface where traffic is directed. It serves as the next hop in the Network.network_mask(String) IPv4 address that defines the range of consecutive subnets in the network.primary(String) IPv4 address for the Primary Timing Master Server.secondary(String) IPv4 address for the Secondary Timing Master Server.
Nested Schema for package
Required:
code(String) Time Precision Package Code for the desired billing package
Read-Only:
href(String) Time Precision Package HREF link to corresponding resource in Equinix Portal
Nested Schema for ntp_advanced_configuration
Optional:
key(String) The plaintext authentication key. For ASCII type, the key
\ must contain printable ASCII characters, range 10-20 characters. For
\ HEX type, range should be 10-40 characterskey_number(Number) The authentication Key IDtype(String) md5 Authentication type
Nested Schema for ptp_advanced_configuration
Optional:
domain(Number) The PTP domain valuegrant_time(Number) Unicast Grant Time in seconds. For Multicast and Hybrid transport modes, grant time defaults to 300 seconds. For Unicast mode, grant time can be between 30 to 7200log_announce_interval(Number) Logarithmic value that controls the rate of PTP Announce packets from the PTP time server. Default is 1 (1 packet every 2 seconds), Unit packets/secondlog_delay_req_interval(Number) Logarithmic value that controls the rate of PTP DelayReq packets. Default is -4 (16 packets per second), Unit packets/second..log_sync_interval(Number) Logarithmic value that controls the rate of PTP Sync packets. Default is -4 (16 packets per second), Unit packets/second..priority1(Number) The priority1 value determines the best primary clock, Lower value indicates higher prioritypriority2(Number) The priority2 value differentiates and prioritizes the primary clock to avoid confusion when priority1-value is the same for different primary clocks in a networktime_scale(String) Time Scale value, ARB denotes Arbitrary and PTP denotes Precision Time Protocoltransport_mode(String) ptp transport mode
Nested Schema for timeouts
Optional:
create(String) A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).delete(String) A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.read(String) A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Read operations occur during any refresh or planning operation when refresh is enabled.update(String) A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
Nested Schema for account
Read-Only:
account_name(String) Account Nameaccount_number(Number) Equinix Account Numberglobal_cust_id(String) Global Customer Idglobal_org_id(String) Customer organization naidentifiermeglobal_organization_name(String) Global organization nameorg_id(Number) Customer organization identifierorganization_name(String) Customer organization namereseller_account_name(String) Reseller account namereseller_account_number(Number) Reseller account numberreseller_org_id(Number) Reseller customer organization identifierreseller_ucm_id(String) Reseller account ucmIducm_id(String) Global organization name
Nested Schema for change_log
Read-Only:
created_by(String) User name of creator of the route aggregation resourcecreated_by_email(String) Email of creator of the route aggregation resourcecreated_by_full_name(String) Legal name of creator of the route aggregation resourcecreated_date_time(String) Creation time of the route aggregation resourcedeleted_by(String) User name of deleter of the route aggregation resourcedeleted_by_email(String) Email of deleter of the route aggregation resourcedeleted_by_full_name(String) Legal name of deleter of the route aggregation resourcedeleted_date_time(String) Deletion time of the route aggregation resourceupdated_by(String) User name of last updater of the route aggregation resourceupdated_by_email(String) Email of last updater of the route aggregation resourceupdated_by_full_name(String) Legal name of last updater of the route aggregation resourceupdated_date_time(String) Last update time of the route aggregation resource
Nested Schema for operation
Read-Only:
operational_status(String) Current operational status of the Precision Time Service
Nested Schema for order
Read-Only:
customer_reference_number(String) Customer reference numberorder_number(String) Order reference numberpurchase_order_number(String) Purchase order number
Nested Schema for precision_time_price
Read-Only:
charges(Attributes List) offering price charge (see below for nested schema)currency(String) Offering price currency
Nested Schema for precision_time_price.charges
Read-Only:
price(Number) Offering pricetype(String) Price charge type; MONTHLY_RECURRING, NON_RECURRING
Nested Schema for project
Read-Only:
project_id(String) Equinix Subscriber-assigned project ID