This module is no longer maintained as it has been integrated into the nac-aci module.
Terraform ACI Date Time Policy Module
Manages ACI Date Time Policy
Location in GUI:
Fabric
» Fabric Policies
» Fabric Policies
» Policies
» Pod
» Date and Time
module "aci_date_time_policy" {
source = " netascode/date-time-policy/aci"
version = " >= 0.2.0"
name = " DATE1"
apic_ntp_server_master_stratum = 10
ntp_admin_state = false
ntp_auth_state = true
apic_ntp_server_master_mode = true
apic_ntp_server_state = true
ntp_servers = [{
hostname_ip = " 100.1.1.1"
preferred = true
mgmt_epg_type = " inb"
mgmt_epg_name = " INB1"
auth_key_id = 1
}]
ntp_keys = [{
id = 1
key = " SECRETKEY"
auth_type = " sha1"
trusted = true
}]
}
Name
Version
aci
>= 2.0.0
Name
Description
Type
Default
Required
name
Date time policy Name.
string
n/a
yes
apic_ntp_server_master_stratum
APIC NTP server master stratum. Minimum value: 1. Maximum value: 14.
number
8
no
ntp_admin_state
NTP admin state.
bool
true
no
ntp_auth_state
NTP authentication state.
bool
false
no
apic_ntp_server_master_mode
APIC NTP server master mode.
bool
false
no
apic_ntp_server_state
APIC NTP server state.
bool
false
no
ntp_servers
List of NTP servers. Default value preferred
: false. Choices mgmt_epg_type
: inb
, oob
. Default value mgmt_epg_type
: inb
. Allowed values auth_key_id
: 1-65535.
list(object({ hostname_ip = string preferred = optional(bool, false) mgmt_epg_type = optional(string, "inb") mgmt_epg_name = optional(string) auth_key_id = optional(number) }))
[]
no
ntp_keys
List of keys. Allowed values id
: 1-65535. Choices auth_type
: md5
, sha1
.
list(object({ id = number key = string auth_type = string trusted = bool }))
[]
no
Name
Description
dn
Distinguished name of datetimePol
object.
name
Date time policy name.