Skip to content

Latest commit

 

History

History
161 lines (145 loc) · 18.5 KB

README.md

File metadata and controls

161 lines (145 loc) · 18.5 KB

Terraform Network-as-Code Cisco Meraki Module

A Terraform module to configure Cisco Meraki.

Usage

This module supports an inventory driven approach, where a complete Meraki configuration or parts of it are either modeled in one or more YAML files or natively using Terraform variables.

Examples

Configuring an organization administrator using YAML:

organization.yaml

meraki:
  domains:
    - name: EMEA
      administrator:
        name: Dev CX Provider Admin
      organizations:
        - name: Dev
          admins:
            - name: Dev CX Provider Admin
              email: [email protected]
              authentication_method: Email
              org_access: full

main.tf

module "meraki" {
  source  = "netascode/nac-meraki/meraki"
  version = ">= 0.1.0"

  yaml_files = ["organizations_admins.yaml"]
}

Requirements

Name Version
terraform >= 0.1.0
local >= 2.5.1
meraki 0.1.3
utils >= 0.2.5

Inputs

Name Description Type Default Required
model As an alternative to YAML files, a native Terraform data structure can be provided as well. map(any) {} no
write_default_values_file Write all default values to a YAML file. Value is a path pointing to the file to be created. string "" no
write_merged_yaml_file The path where the merged YAML output should be written string "" no
yaml_directories List of paths to YAML directories. list(string) [] no
yaml_files List of paths to YAML files. list(string) [] no

Outputs

Name Description
default_values All default values.
model Full model.

Resources

Name Type
local_file.merged_yaml_output resource
local_sensitive_file.defaults resource
meraki_appliance_content_filtering.appliance_content_filtering resource
meraki_appliance_firewall_settings.appliance_firewall_settings resource
meraki_appliance_firewalled_service.appliance_firewall_firewalled_services resource
meraki_appliance_inbound_firewall_rules.appliance_firewall_inbound_firewall_rules resource
meraki_appliance_l3_firewall_rules.appliance_firewall_l3_firewall_rules resource
meraki_appliance_l7_firewall_rules.appliance_firewall_l7_firewall_rules resource
meraki_appliance_network_security_intrusion.appliance_security_intrusion resource
meraki_appliance_one_to_many_nat_rules.appliance_firewall_one_to_many_nat_rules resource
meraki_appliance_one_to_one_nat_rules.appliance_firewall_one_to_one_nat_rules resource
meraki_appliance_port.appliance_ports resource
meraki_appliance_port_forwarding_rules.appliance_firewall_port_forwarding_rules resource
meraki_appliance_security_malware.appliance_security_malware resource
meraki_appliance_settings.appliance_settings resource
meraki_appliance_single_lan.appliance_single_lan resource
meraki_appliance_site_to_site_vpn.appliance_vpn_site_to_site_vpn resource
meraki_appliance_third_party_vpn_peers.organizations_appliance_vpn_third_party_vpn_peers resource
meraki_appliance_uplinks_settings.devices_appliance_uplinks_setting resource
meraki_appliance_vlan.appliance_vlans resource
meraki_appliance_vlans_settings.appliance_vlans_settings resource
meraki_appliance_vpn_bgp.appliance_vpn_bgp resource
meraki_appliance_vpn_firewall_rules.net_organizations_appliance_vpn_vpn_firewall_rules resource
meraki_appliance_warm_spare.appliance_warm_spare resource
meraki_device.device resource
meraki_device_management_interface.devices_management_interface resource
meraki_network.network resource
meraki_network_device_claim.net_device_claim resource
meraki_network_floor_plan.net_floor_plans resource
meraki_network_group_policy.net_group_policies resource
meraki_network_settings.net_settings resource
meraki_network_snmp.net_snmp resource
meraki_network_syslog_servers.net_syslog_servers resource
meraki_network_vlan_profile.net_vlan_profiles resource
meraki_organization.organization resource
meraki_organization_adaptive_policy.organizations_adaptive_policy_policy resource
meraki_organization_adaptive_policy_acl.organizations_adaptive_policy_acl resource
meraki_organization_adaptive_policy_group.organizations_adaptive_policy_group resource
meraki_organization_adaptive_policy_settings.organizations_adaptive_policy_settings resource
meraki_organization_admin.organization_admin resource
meraki_organization_inventory_claim.organization_claim resource
meraki_organization_login_security.login_security resource
meraki_organization_policy_object.policy_object resource
meraki_organization_policy_object_group.policy_object_group resource
meraki_organization_snmp.snmp resource
meraki_switch_access_control_lists.net_switch_access_control_lists resource
meraki_switch_access_policy.net_switch_access_policy resource
meraki_switch_alternate_management_interface.net_switch_alternate_management_interface resource
meraki_switch_dhcp_server_policy.net_switch_dhcp_server_policy resource
meraki_switch_dhcp_server_policy_arp_inspection_trusted_server.net_switch_dhcp_server_policy_arp_inspection_trusted_server resource
meraki_switch_dscp_to_cos_mappings.net_switch_dscp_to_cos_mappings resource
meraki_switch_link_aggregation.net_switch_link_aggregation resource
meraki_switch_mtu.net_switch_mtu resource
meraki_switch_port.devices_switch_port resource
meraki_switch_port_schedule.net_switch_port_schedules resource
meraki_switch_qos_rule.net_switch_qos_rule resource
meraki_switch_qos_rule_order.net_switch_qos_rule_order resource
meraki_switch_routing_interface.devices_switch_routing_interface resource
meraki_switch_routing_interface_dhcp.devices_switch_routing_interfaces_dhcp resource
meraki_switch_routing_multicast.net_switch_routing_multicast resource
meraki_switch_routing_multicast_rendezvous_point.net_switch_routing_multicast_rendezvous_point resource
meraki_switch_routing_ospf.net_switch_routing_ospf resource
meraki_switch_routing_static_route.devices_switch_routing_static_routes resource
meraki_switch_settings.net_switch_settings resource
meraki_switch_stack.net_switch_stacks resource
meraki_switch_stack_routing_interface.net_switch_stack_routing_interface_first resource
meraki_switch_stack_routing_interface.net_switch_stack_routing_interface_not_first resource
meraki_switch_stack_routing_interface_dhcp.net_switch_stacks_routing_interfaces_dhcp_first resource
meraki_switch_stack_routing_interface_dhcp.net_switch_stacks_routing_interfaces_dhcp_not_first resource
meraki_switch_stack_routing_static_route.net_switch_stacks_routing_static_route resource
meraki_switch_storm_control.net_switch_storm_control resource
meraki_switch_stp.net_switch_stp resource
meraki_wireless_alternate_management_interface.wireless_alternate_management_interface resource
meraki_wireless_device_bluetooth_settings.devices_wireless_bluetooth_settings resource
meraki_wireless_network_bluetooth_settings.wireless_bluetooth_settings resource
meraki_wireless_rf_profile.net_wireless_rf_profiles resource
meraki_wireless_settings.net_wireless_settings resource
meraki_wireless_ssid.net_wireless_ssids resource
meraki_wireless_ssid_bonjour_forwarding.wireless_ssids_bonjour_forwarding resource
meraki_wireless_ssid_device_type_group_policies.net_wireless_ssids_device_type_group_policies resource
meraki_wireless_ssid_eap_override.net_wireless_ssid_eap_override resource
meraki_wireless_ssid_hotspot_20.net_wireless_ssids_hotspot20 resource
meraki_wireless_ssid_identity_psk.net_wireless_ssids_identity_psks resource
meraki_wireless_ssid_l3_firewall_rules.net_wireless_ssids_l3_firewall_rules resource
meraki_wireless_ssid_schedules.net_wireless_ssids_schedules resource
meraki_wireless_ssid_splash_settings.net_wireless_ssids_splash_settings resource
meraki_wireless_ssid_traffic_shaping_rules.net_wireless_ssids_traffic_shaping_rules resource
utils_yaml_merge.defaults data source
utils_yaml_merge.model data source

Modules

No modules.