This module simplifies the creation of basic server and domain policies in the specified Intersight organization. It takes a few inputs and creates more than 20 policies with common settings. It also creates a server profile template and UCS domain profile that use several of those policies. Objects are created with a consistent naming scheme and any tags specified.
This module is intended to give users a jump-start into creating their own policies but will not represent the exact policy that every user will want. The policies can be updated manually or just used a reference to create new policies.
This module creates policy, a server profile template, and a UCS domain profile. When attempting a terraform destroy
, Terraform is unable to remove the policies that are used by two Fabric Interconnects in the UCS domain profile. You will have to edit the domain profile manually and detatch the following policies from from the fabric interconnects:
- VLAN policy
- VSAN policy
- Port policy
See examples for more details.
Name | Version |
---|---|
intersight | >=1.0.28 |
Name | Version |
---|---|
intersight | >=1.0.28 |
No modules.
Name | Description | Type | Default | Required |
---|---|---|---|---|
description | description field for all policies | string |
"" |
no |
dns_alternate | IP address of secondary (alternate) DNS server | string |
"" |
no |
dns_preferred | IP address of primary (preferred) DNS server | string |
n/a | yes |
fc_port_count_6454 | number of ports to assign to FC starting at port 1 | number |
0 |
no |
imc_access_pool | moid of IP pool for IMC access | string |
n/a | yes |
imc_access_vlan | ID of VLAN for IMC access | number |
n/a | yes |
imc_admin_password | password for the local user policy for IMC | string |
"Cha@ng3Me" |
no |
ntp_servers | list of NTP servers | list(string) |
n/a | yes |
ntp_timezone | valid timezone as documented at https://registry.terraform.io/providers/CiscoDevNet/intersight/latest/docs/resources/ntp_policy | string |
"America/Chicago" |
no |
organization | moid for organization in which to create the policies | string |
n/a | yes |
policy_prefix | prefix for all policies created | string |
"tf" |
no |
port_channel_6454 | list of port numbers to be assigned to uplink port channel | set(string) |
n/a | yes |
server_ports_6454 | list of port numbers to be assigned to server ports | set(string) |
n/a | yes |
tags | user tags to be applied to all policies | list(map(string)) |
[] |
no |
uplink_vlans_6454 | map of vlan names and IDs to be used on FI uplinks | map(number) |
n/a | yes |
vnic_mac_pool | moid of MAC pool for use with vnics | string |
n/a | yes |
vnic_native_vlan | native VLAN for vnic profiles | number |
1 |
no |
No outputs.