The Meraki provider provides resources to interact with a Cisco Meraki Dashboard. It communicates with Meraki Dashboard via the REST API.
Please note that this Terraform provider is developed and maintained by a dedicated community of contributors. It is not directly supported by Cisco. While we strive to ensure the provider is robust and reliable, its development relies on community contributions and engagement.
There is another Terraform Provider for Meraki developed and supported by Cisco, which is available here.
All resources and data sources have been tested with the following API releases.
API | Version |
---|---|
Meraki Dashboard | 1.51.1 |
Documentation: https://registry.terraform.io/providers/CiscoDevNet/meraki/latest
As this is a community-driven project, support is provided by the community. If you encounter issues or have questions, please use the following resources:
We welcome contributions from the community! If you'd like to contribute, please follow our contribution guidelines. Whether it's reporting bugs, suggesting features, or submitting pull requests, your involvement helps improve the project for everyone.
install
command:go install
This provider uses Go modules. Please see the Go documentation for the most up to date information about using Go modules.
To add a new dependency github.com/author/dependency
to your Terraform provider:
go get github.com/author/dependency
go mod tidy
Then commit the changes to go.mod
and go.sum
.
This Terraform Provider is available to install automatically via terraform init
. If you're building the provider, follow the instructions to
install it as a plugin.
After placing it into your plugins directory, run terraform init
to initialize it.
Additional documentation, including available resources and their arguments/attributes can be found on the Terraform documentation website.
If you wish to work on the provider, you'll first need Go installed on your machine (see Requirements above).
To compile the provider, run go install
. This will build the provider and put the provider binary in the $GOPATH/bin
directory.
More information about how the code generation works can be found in the contribution guide.
In order to run the full suite of acceptance tests, run make testall
. Make sure the respective environment variables are set (e.g., MERAKI_API_KEY
).
Note: Acceptance tests create real resources.
make testall
More information about how the acceptance tests work can be found in the contribution guide.