A Terraform module to configure Cisco Meraki.
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.
Configuring an organization administrator using YAML:
meraki:
domains:
- name: EMEA
administrator:
name: Dev Admin
organizations:
- name: Dev
admins:
- name: Dev Admin
email: [email protected]
authentication_method: Email
org_access: fullmodule "meraki" {
source = "netascode/nac-meraki/meraki"
version = ">= 0.1.0"
yaml_files = ["organizations_admins.yaml"]
}| Name | Version |
|---|---|
| terraform | >= 1.9.0 |
| meraki | >= 1.8.0 |
| 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_model_file | Write the full model including all resolved templates to a single YAML file. Value is a path pointing to the file to be created. | string |
"" |
no |
| yaml_directories | List of paths to YAML directories. | list(string) |
[] |
no |
| yaml_files | List of paths to YAML files. | list(string) |
[] |
no |
| Name | Description |
|---|---|
| default_values | All default values. |
| model | Full model. |
| Name | Source | Version |
|---|---|---|
| model | ./modules/model | n/a |