terraform-cisco-modules / terraform-intersight-policies

Terraform - Intersight > Policies Module

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

License: GPL v3 Developed by: Cisco

Terraform Intersight Policies Module

A Terraform module to configure Intersight Policies.

This module is part of the Cisco Intersight as Code project. Its goal is to allow users to instantiate network fabrics in minutes using an easy to use, opinionated data model. It takes away the complexity of having to deal with references, dependencies or loops. By completely separating data (defining variables) from logic (infrastructure declaration), it allows the user to focus on describing the intended configuration while using a set of maintained and tested Terraform Modules without the need to understand the low-level Intersight object model.

A comprehensive example using this module is available here: https://github.com/terraform-cisco-modules/iac-intersight-comprehensive-example

Requirements

Name Version
terraform >=1.3.0
intersight >=1.0.36

Providers

Name Version
intersight 1.0.36

Inputs

Name Description Type Default Required
moids_policies Flag to Determine if Policies Should be associated using resource or data object. bool false no
moids_pools Flag to Determine if Pools Should be associated using data object or from var.pools. bool false no
organization Name of the default intersight Organization. string "default" no
orgs Input orgs List. any n/a yes
policies Policies - YAML to HCL data. any n/a yes
pools Pool Moids. any n/a yes
tags List of Key/Value Pairs to Assign as Attributes to the Policy. list(map(string)) [] no
cert_mgmt_certificate_1 The Server Certificate in PEM format. string "" no
cert_mgmt_certificate_2 The Server Certificate in PEM format. string "" no
cert_mgmt_certificate_3 The Server Certificate in PEM format. string "" no
cert_mgmt_certificate_4 The Server Certificate in PEM format. string "" no
cert_mgmt_certificate_5 The Server Certificate in PEM format. string "" no
cert_mgmt_private_key_1 Private Key in PEM Format. string "" no
cert_mgmt_private_key_2 Private Key in PEM Format. string "" no
cert_mgmt_private_key_3 Private Key in PEM Format. string "" no
cert_mgmt_private_key_4 Private Key in PEM Format. string "" no
cert_mgmt_private_key_5 Private Key in PEM Format. string "" no
drive_security_password Drive Security User Password. string "" no
drive_security_server_ca_certificate Drive Security Server CA Certificate in PEM Format. string "" no
cco_password CCO User Account Password. string "" no
cco_user CCO User Account Email for Firmware Policies. string "cco_user" no
model description = <<-EOT
The server family that will be impacted by this upgrade.
* UCSC-C220-M4 - The upgrade on all C220-M4 servers claimed in setup.
* UCSC-C240-M4 - The upgrade on all C240-M4 servers claimed in setup.
* UCSC-C460-M4 - The upgrade on all C460-M4 servers claimed in setup.
* UCSB-B200-M5 - The upgrade on all B200-M5 servers claimed in setup.
* UCSB-B480-M5 - The upgrade on all B480-M5 servers claimed in setup.
* UCSC-C220-M5 - The upgrade on all C220-M5 servers claimed in setup.
* UCSC-C240-M5 - The upgrade on all C240-M5 servers claimed in setup.
* UCSC-C480-M5 - The upgrade on all C480-M5 servers claimed in setup.
* UCSB-B200-M6 - The upgrade on all B200-M6 servers claimed in setup.
* UCSC-C220-M6 - The upgrade on all C220-M6 servers claimed in setup.
* UCSC-C225-M6 - The upgrade on all C225-M6 servers claimed in setup.
* UCSC-C240-M6 - The upgrade on all C240-M6 servers claimed in setup.
* UCSC-C245-M6 - The upgrade on all C245-M6 servers claimed in setup.
* UCSX-210C-M6 - The upgrade on all 210C-M6 servers claimed in setup.
* UCSX-210C-M7 - The upgrade on all 210C-M7 servers claimed in setup.
* UCSX-220-M7 - The upgrade on all C220-M7 servers claimed in setup.
* UCSX-240-M7 - The upgrade on all C240-M7 servers claimed in setup.
* UCSC-C125 - The upgrade on all C125 servers claimed in setup.
string "UCSC-C220-M5" no
ipmi_key_1 Encryption key 1 to use for IPMI communication. It should have an even number of hexadecimal characters and not exceed 40 characters. string "" no
iscsi_boot_password Password to Assign to the Policy if doing Authentication. string "" no
binding_parameters_password The password of the user for initial bind process. It can be any string that adheres to the following constraints. It can have character except spaces, tabs, line breaks. It cannot be more than 254 characters. string "" no
local_user_password_1 Password to assign to a local user. Sensitive Variables cannot be added to a for_each loop so these are added seperately. string "" no
local_user_password_2 Password to assign to a local user. Sensitive Variables cannot be added to a for_each loop so these are added seperately. string "" no
local_user_password_3 Password to assign to a local user. Sensitive Variables cannot be added to a for_each loop so these are added seperately. string "" no
local_user_password_4 Password to assign to a local user. Sensitive Variables cannot be added to a for_each loop so these are added seperately. string "" no
local_user_password_5 Password to assign to a local user. Sensitive Variables cannot be added to a for_each loop so these are added seperately. string "" no
persistent_passphrase Secure passphrase to be applied on the Persistent Memory Modules on the server. The allowed characters are:
- a-z, A-Z, 0-9 and special characters: \u0021, &, #, $, %, +, ^, @, _, *, -.
string "" no
access_community_string_1 The default SNMPv1, SNMPv2c community name or SNMPv3 username to include on any trap messages sent to the SNMP host. The name can be 18 characters long. string "" no
access_community_string_2 The default SNMPv1, SNMPv2c community name or SNMPv3 username to include on any trap messages sent to the SNMP host. The name can be 18 characters long. string "" no
access_community_string_3 The default SNMPv1, SNMPv2c community name or SNMPv3 username to include on any trap messages sent to the SNMP host. The name can be 18 characters long. string "" no
access_community_string_4 The default SNMPv1, SNMPv2c community name or SNMPv3 username to include on any trap messages sent to the SNMP host. The name can be 18 characters long. string "" no
access_community_string_5 The default SNMPv1, SNMPv2c community name or SNMPv3 username to include on any trap messages sent to the SNMP host. The name can be 18 characters long. string "" no
snmp_auth_password_1 SNMPv3 User Authentication Password. string "" no
snmp_auth_password_2 SNMPv3 User Authentication Password. string "" no
snmp_auth_password_3 SNMPv3 User Authentication Password. string "" no
snmp_auth_password_4 SNMPv3 User Authentication Password. string "" no
snmp_auth_password_5 SNMPv3 User Authentication Password. string "" no
snmp_privacy_password_1 SNMPv3 User Privacy Password. string "" no
snmp_privacy_password_2 SNMPv3 User Privacy Password. string "" no
snmp_privacy_password_3 SNMPv3 User Privacy Password. string "" no
snmp_privacy_password_4 SNMPv3 User Privacy Password. string "" no
snmp_privacy_password_5 SNMPv3 User Privacy Password. string "" no
snmp_trap_community_1 Community for a Trap Destination. string "" no
snmp_trap_community_2 Community for a Trap Destination. string "" no
snmp_trap_community_3 Community for a Trap Destination. string "" no
snmp_trap_community_4 Community for a Trap Destination. string "" no
snmp_trap_community_5 Community for a Trap Destination. string "" no
trap_community_string SNMP community group used for sending SNMP trap to other devices. Valid only for SNMPv2c. string "" no
trap_community_string_1 The default SNMPv1, SNMPv2c community name or SNMPv3 username to include on any trap messages sent to the SNMP host. The name can be 18 characters long. string "" no
trap_community_string_2 The default SNMPv1, SNMPv2c community name or SNMPv3 username to include on any trap messages sent to the SNMP host. The name can be 18 characters long. string "" no
trap_community_string_3 The default SNMPv1, SNMPv2c community name or SNMPv3 username to include on any trap messages sent to the SNMP host. The name can be 18 characters long. string "" no
trap_community_string_4 The default SNMPv1, SNMPv2c community name or SNMPv3 username to include on any trap messages sent to the SNMP host. The name can be 18 characters long. string "" no
trap_community_string_5 The default SNMPv1, SNMPv2c community name or SNMPv3 username to include on any trap messages sent to the SNMP host. The name can be 18 characters long. string "" no
vmedia_password_1 Password for vMedia string "" no
vmedia_password_2 Password for vMedia string "" no
vmedia_password_3 Password for vMedia string "" no
vmedia_password_4 Password for vMedia string "" no
vmedia_password_5 Password for vMedia string "" no

Outputs

Name Description
adapter_configuration Moid's of the Adapter Configuration Policies.
bios Moid's of the BIOS Policies.
boot_order Moid's of the Boot Order Policies.
certificate_management Moid's of the Certificate Management Policies.
device_connector Moid's of the Device Connector Policies.
imc_access Moid's of the IMC Access Policies.
ipmi_over_lan Moid's of the IPMI over LAN Policies.
lan_connectivity Moid's of the LAN Connectivity Policies.
ldap Moid's of the LDAP Policies.
local_user Moid's of the Local User Policies.
network_connectivity Moid's of the Network Connectivity Policies.
ntp Moid's of the NTP Policies.
persistent_memory Moid's of the Persistent Memory Policies.
port Moid's of the Port Policies.
power Moid's of the Power Policies.
san_connectivity Moid's of the SAN Connectivity Policies.
serial_over_lan Moid's of the Serial over LAN Policies.
smtp Moid's of the SMTP Policies.
snmp Moid's of the SNMP Policies.
ssh Moid's of the SSH Policies.
storage Moid's of the Storage Policies.
switch_control Moid's of the Switch Control Policies.
syslog Moid's of the Syslog Policies.
system_qos Moid's of the System QoS Policies.
thermal Moid's of the Thermal Policies.
virtual_kvm Moid's of the Virtual KVM Policies.
virtual_media Moid's of the Virtual Media Policies.
vlan Moid's of the VLAN Policies.
vsan Moid's of the VSAN Policies.

Resources

Name Type
intersight_access_policy.imc_access resource
intersight_adapter_config_policy.adapter_configuration resource
intersight_bios_policy.bios resource
intersight_boot_precision_policy.boot_order resource
intersight_certificatemanagement_policy.certificate_management resource
intersight_deviceconnector_policy.device_connector resource
intersight_fabric_appliance_pc_role.port_channel_appliances resource
intersight_fabric_appliance_role.port_role_appliances resource
intersight_fabric_eth_network_control_policy.ethernet_network_control resource
intersight_fabric_eth_network_group_policy.ethernet_network_group resource
intersight_fabric_eth_network_policy.vlan resource
intersight_fabric_fc_network_policy.vsan resource
intersight_fabric_fc_storage_role.port_role_fc_storage resource
intersight_fabric_fc_uplink_pc_role.port_channel_fc_uplinks resource
intersight_fabric_fc_uplink_role.port_role_fc_uplinks resource
intersight_fabric_fc_zone_policy.fc_zone resource
intersight_fabric_fcoe_uplink_pc_role.port_channel_fcoe_uplinks resource
intersight_fabric_fcoe_uplink_role.port_role_fcoe_uplinks resource
intersight_fabric_flow_control_policy.flow_control resource
intersight_fabric_link_aggregation_policy.link_aggregation resource
intersight_fabric_link_control_policy.link_control resource
intersight_fabric_multicast_policy.multicast resource
intersight_fabric_port_mode.port_modes resource
intersight_fabric_port_policy.port resource
intersight_fabric_server_role.port_role_servers resource
intersight_fabric_switch_control_policy.switch_control resource
intersight_fabric_system_qos_policy.system_qos resource
intersight_fabric_uplink_pc_role.port_channel_ethernet_uplinks resource
intersight_fabric_uplink_role.port_role_ethernet_uplinks resource
intersight_fabric_vlan.vlans resource
intersight_fabric_vsan.vsans resource
intersight_firmware_policy.fw resource
intersight_iam_end_point_user.users resource
intersight_iam_end_point_user_policy.local_user resource
intersight_iam_end_point_user_role.user_role resource
intersight_iam_ldap_group.ldap_group resource
intersight_iam_ldap_policy.ldap resource
intersight_iam_ldap_provider.ldap_providers resource
intersight_ipmioverlan_policy.ipmi_over_lan resource
intersight_kvm_policy.virtual_kvm resource
intersight_memory_persistent_memory_policy.persistent_memory resource
intersight_networkconfig_policy.network_connectivity resource
intersight_ntp_policy.ntp resource
intersight_power_policy.power resource
intersight_sdcard_policy.sd_card resource
intersight_smtp_policy.smtp resource
intersight_snmp_policy.snmp resource
intersight_softwarerepository_authorization.auth resource
intersight_sol_policy.serial_over_lan resource
intersight_ssh_policy.ssh resource
intersight_storage_drive_group.drive_groups resource
intersight_storage_drive_security_policy.drive_security resource
intersight_storage_storage_policy.storage resource
intersight_syslog_policy.syslog resource
intersight_thermal_policy.thermal resource
intersight_vmedia_policy.virtual_media resource
intersight_vnic_eth_adapter_policy.ethernet_adapter resource
intersight_vnic_eth_if.vnics resource
intersight_vnic_eth_network_policy.ethernet_network resource
intersight_vnic_eth_qos_policy.ethernet_qos resource
intersight_vnic_fc_adapter_policy.fibre_channel_adapter resource
intersight_vnic_fc_if.vhbas resource
intersight_vnic_fc_network_policy.fibre_channel_network resource
intersight_vnic_fc_qos_policy.fibre_channel_qos resource
intersight_vnic_iscsi_adapter_policy.iscsi_adapter resource
intersight_vnic_iscsi_boot_policy.iscsi_boot resource
intersight_vnic_iscsi_static_target_policy.iscsi_static_target resource
intersight_vnic_lan_connectivity_policy.lan_connectivity resource
intersight_vnic_san_connectivity_policy.san_connectivity resource
intersight_iam_account.account data source
intersight_iam_end_point_role.roles data source
intersight_search_search_item.ethernet_adapter data source
intersight_search_search_item.ethernet_network data source
intersight_search_search_item.ethernet_network_control data source
intersight_search_search_item.ethernet_network_group data source
intersight_search_search_item.ethernet_qos data source
intersight_search_search_item.fc_zone data source
intersight_search_search_item.fibre_channel_adapter data source
intersight_search_search_item.fibre_channel_network data source
intersight_search_search_item.fibre_channel_qos data source
intersight_search_search_item.flow_control data source
intersight_search_search_item.ip data source
intersight_search_search_item.iqn data source
intersight_search_search_item.iscsi_adapter data source
intersight_search_search_item.iscsi_boot data source
intersight_search_search_item.iscsi_static_target data source
intersight_search_search_item.link_aggregation data source
intersight_search_search_item.link_control data source
intersight_search_search_item.mac data source
intersight_search_search_item.multicast data source
intersight_search_search_item.wwnn data source
intersight_search_search_item.wwpn data source

About

Terraform - Intersight > Policies Module

License:GNU General Public License v3.0


Languages

Language:HCL 99.8%Language:Python 0.2%