Skip to content

Commit

Permalink
Merge pull request #205 from cisco-open/develop
Browse files Browse the repository at this point in the history
Develop v1.0.1-beta
  • Loading branch information
fmunozmiranda authored Feb 7, 2025
2 parents aaa70e1 + d5eeadf commit 55dbe8e
Show file tree
Hide file tree
Showing 99 changed files with 415 additions and 159 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 1.0.1-beta (January 20, 2025)
FEATURES:
* **New Data Source** `data_source_meraki_networks_wireless_air_marshal_rules.go`
* Added support for `-1` value in the `per_page` parameter of the data source. When set to `-1`, the response will include all available data without pagination.

## 1.0.0-beta (January 20, 2025)
BREAKING CHANGES:
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ HOSTNAME=hashicorp.com
NAMESPACE=edu
NAME=meraki
BINARY=terraform-provider-${NAME}
VERSION=1.0.0-beta
VERSION=1.0.1-beta
OS_ARCH=darwin_arm64
# OS_ARCH=darwin_amd64
GOFMT_FILES?=$$(find . -name '*.go' |grep -v vendor)
Expand Down
16 changes: 13 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ terraform {
required_providers {
meraki = {
source = "cisco-open/meraki"
version = "1.0.0-beta"
version = "1.0.1-beta"
}
}
}
Expand Down Expand Up @@ -68,7 +68,7 @@ terraform {
required_providers {
meraki = {
source = "hashicorp.com/edu/meraki"
version = "1.0.0-beta"
version = "1.0.1-beta"
}
}
}
Expand Down Expand Up @@ -120,10 +120,20 @@ The following table shows the supported versions.
|-----------------------|-------------------------------------|------------------------------|
| 1.33.0 | 0.1.0-alpha | 2.0.9 |
| 1.44.1 | 0.2.0-alpha | 3.0.0 |
| 1.53.0 | 1.0.0-beta | 4.0.0 |
| 1.53.0 | 1.0.1-beta | 4.0.0 |

If your SDK, Terraform provider is older please consider updating it first.

## Fetch All Items of an Endpoint with Pagination

- **Support for fetching all items with `per_page=-1`**
A new feature has been introduced to the API endpoints, enabling clients to fetch all available items in a single request by setting the `per_page` parameter to `-1`. This enhancement allows you to retrieve the full dataset without needing to make multiple paginated requests.

### Behavior

- When `per_page` is set to `-1`, the server will return **all available items** for that endpoint, bypassing the pagination logic.
- If a positive integer is passed for `per_page`, the endpoint will continue using traditional pagination and return only the number of items specified by `per_page`.

# Contributing

Ongoing development efforts and contributions to this provider are tracked as issues in this repository.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
terraform {
required_providers {
meraki = {
version = "1.0.0-beta"
version = "1.0.1-beta"
source = "hashicorp.com/edu/meraki"
# "hashicorp.com/edu/meraki" is the local built source, change to "cisco-en-programmability/meraki" to use downloaded version from registry
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
terraform {
required_providers {
meraki = {
version = "1.0.0-beta"
version = "1.0.1-beta"
source = "hashicorp.com/edu/meraki"
# "hashicorp.com/edu/meraki" is the local built source, change to "cisco-en-programmability/meraki" to use downloaded version from registry
}
Expand Down
5 changes: 3 additions & 2 deletions examples/samples/data_sources/meraki_devices/data_source.tf
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
terraform {
required_providers {
meraki = {
version = "1.0.0-beta"
version = "1.0.1-beta"
source = "hashicorp.com/edu/meraki"
# "hashicorp.com/edu/meraki" is the local built source, change to "cisco-en-programmability/meraki" to use downloaded version from registry
}
Expand All @@ -15,7 +15,8 @@ data "meraki_devices" "example" {
# organization_id = "828099381482762766"
organization_id = "828099381482762270"
# serial = "QBSB-AX45-LY9A"
network_ids = []
# network_ids = []
per_page = -1
# /api/v1/organizations/828099381482762270/devices?
# networkIds=%221HOLA1%22&networkIds=%224HOLA4%22
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
terraform {
required_providers {
meraki = {
version = "1.0.0-beta"
version = "1.0.1-beta"
source = "hashicorp.com/edu/meraki"
# "hashicorp.com/edu/meraki" is the local built source, change to "cisco-en-programmability/meraki" to use downloaded version from registry
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
terraform {
required_providers {
meraki = {
version = "1.0.0-beta"
version = "1.0.1-beta"
source = "hashicorp.com/edu/meraki"
# "hashicorp.com/edu/meraki" is the local built source, change to "cisco-en-programmability/meraki" to use downloaded version from registry
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
terraform {
required_providers {
meraki = {
version = "1.0.0-beta"
version = "1.0.1-beta"
source = "hashicorp.com/edu/meraki"
# "hashicorp.com/edu/meraki" is the local built source, change to "cisco-en-programmability/meraki" to use downloaded version from registry
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
terraform {
required_providers {
meraki = {
version = "1.0.0-beta"
version = "1.0.1-beta"
source = "hashicorp.com/edu/meraki"
# "hashicorp.com/edu/meraki" is the local built source, change to "cisco-en-programmability/meraki" to use downloaded version from registry
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
terraform {
required_providers {
meraki = {
version = "1.0.0-beta"
version = "1.0.1-beta"
source = "hashicorp.com/edu/meraki"
}
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
terraform {
required_providers {
meraki = {
version = "1.0.0-beta"
version = "1.0.1-beta"
source = "hashicorp.com/edu/meraki"
}
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
terraform {
required_providers {
meraki = {
version = "1.0.0-beta"
version = "1.0.1-beta"
source = "hashicorp.com/edu/meraki"
# "hashicorp.com/edu/meraki" is the local built source, change to "cisco-en-programmability/meraki" to use downloaded version from registry
}
Expand Down
2 changes: 1 addition & 1 deletion examples/samples/resources/devices/resource.tf
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
terraform {
required_providers {
meraki = {
version = "1.0.0-beta"
version = "1.0.1-beta"
source = "hashicorp.com/edu/meraki"
# "hashicorp.com/edu/meraki" is the local built source, change to "cisco-en-programmability/meraki" to use downloaded version from registry
}
Expand Down
2 changes: 1 addition & 1 deletion examples/samples/resources/example/main.tf
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
terraform {
required_providers {
meraki = {
version = "1.0.0-beta"
version = "1.0.1-beta"
source = "hashicorp.com/edu/meraki"
# "hashicorp.com/edu/meraki" is the local built source, change to "cisco-en-programmability/meraki" to use downloaded version from registry
}
Expand Down
2 changes: 1 addition & 1 deletion examples/samples/resources/gnerate_snapshot/resource.tf
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
terraform {
required_providers {
meraki = {
version = "1.0.0-beta"
version = "1.0.1-beta"
source = "hashicorp.com/edu/meraki"
# "hashicorp.com/edu/meraki" is the local built source, change to "cisco-en-programmability/meraki" to use downloaded version from registry
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
terraform {
required_providers {
meraki = {
version = "1.0.0-beta"
version = "1.0.1-beta"
source = "hashicorp.com/edu/meraki"
# "hashicorp.com/edu/meraki" is the local built source, change to "cisco-en-programmability/meraki" to use downloaded version from registry
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
terraform {
required_providers {
meraki = {
version = "1.0.0-beta"
version = "1.0.1-beta"
source = "hashicorp.com/edu/meraki"
}
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
terraform {
required_providers {
meraki = {
version = "1.0.0-beta"
version = "1.0.1-beta"
source = "hashicorp.com/edu/meraki"
# "hashicorp.com/edu/meraki" is the local built source, change to "cisco-en-programmability/meraki" to use downloaded version from registry
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
terraform {
required_providers {
meraki = {
version = "1.0.0-beta"
version = "1.0.1-beta"
source = "hashicorp.com/edu/meraki"
# "hashicorp.com/edu/meraki" is the local built source, change to "cisco-en-programmability/meraki" to use downloaded version from registry
}
Expand Down
2 changes: 1 addition & 1 deletion examples/samples/resources/meraki_networks/resource.tf
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
terraform {
required_providers {
meraki = {
version = "1.0.0-beta"
version = "1.0.1-beta"
source = "hashicorp.com/edu/meraki"
# "hashicorp.com/edu/meraki" is the local built source, change to "cisco-en-programmability/meraki" to use downloaded version from registry
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
terraform {
required_providers {
meraki = {
version = "1.0.0-beta"
version = "1.0.1-beta"
source = "hashicorp.com/edu/meraki"
# "hashicorp.com/edu/meraki" is the local built source, change to "cisco-en-programmability/meraki" to use downloaded version from registry
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
terraform {
required_providers {
meraki = {
version = "1.0.0-beta"
version = "1.0.1-beta"
source = "hashicorp.com/edu/meraki"
# "hashicorp.com/edu/meraki" is the local built source, change to "cisco-en-programmability/meraki" to use downloaded version from registry
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
terraform {
required_providers {
meraki = {
version = "1.0.0-beta"
version = "1.0.1-beta"
source = "hashicorp.com/edu/meraki"
# "hashicorp.com/edu/meraki" is the local built source, change to "cisco-en-programmability/meraki" to use downloaded version from registry
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
terraform {
required_providers {
meraki = {
version = "1.0.0-beta"
version = "1.0.1-beta"
source = "hashicorp.com/edu/meraki"
# "hashicorp.com/edu/meraki" is the local built source, change to "cisco-en-programmability/meraki" to use downloaded version from registry
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
terraform {
required_providers {
meraki = {
version = "1.0.0-beta"
version = "1.0.1-beta"
source = "hashicorp.com/edu/meraki"
# "hashicorp.com/edu/meraki" is the local built source, change to "cisco-en-programmability/meraki" to use downloaded version from registry
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
terraform {
required_providers {
meraki = {
version = "1.0.0-beta"
version = "1.0.1-beta"
source = "hashicorp.com/edu/meraki"
# "hashicorp.com/edu/meraki" is the local built source, change to "cisco-en-programmability/meraki" to use downloaded version from registry
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
terraform {
required_providers {
meraki = {
version = "1.0.0-beta"
version = "1.0.1-beta"
source = "hashicorp.com/edu/meraki"
# "hashicorp.com/edu/meraki" is the local built source, change to "cisco-en-programmability/meraki" to use downloaded version from registry
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
terraform {
required_providers {
meraki = {
version = "1.0.0-beta"
version = "1.0.1-beta"
source = "hashicorp.com/edu/meraki"
# "hashicorp.com/edu/meraki" is the local built source, change to "cisco-en-programmability/meraki" to use downloaded version from registry
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
terraform {
required_providers {
meraki = {
version = "1.0.0-beta"
version = "1.0.1-beta"
source = "hashicorp.com/edu/meraki"
# "hashicorp.com/edu/meraki" is the local built source, change to "cisco-en-programmability/meraki" to use downloaded version from registry
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
terraform {
required_providers {
meraki = {
version = "1.0.0-beta"
version = "1.0.1-beta"
source = "hashicorp.com/edu/meraki"
# "hashicorp.com/edu/meraki" is the local built source, change to "cisco-en-programmability/meraki" to use downloaded version from registry
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
terraform {
required_providers {
meraki = {
version = "1.0.0-beta"
version = "1.0.1-beta"
source = "hashicorp.com/edu/meraki"
# "hashicorp.com/edu/meraki" is the local built source, change to "cisco-en-programmability/meraki" to use downloaded version from registry
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
terraform {
required_providers {
meraki = {
version = "1.0.0-beta"
version = "1.0.1-beta"
source = "hashicorp.com/edu/meraki"
# "hashicorp.com/edu/meraki" is the local built source, change to "cisco-en-programmability/meraki" to use downloaded version from registry
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ terraform {
required_providers {
meraki = {
source = "hashicorp.com/edu/meraki"
version = "1.0.0-beta"
version = "1.0.1-beta"
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ terraform {
required_providers {
meraki = {
source = "hashicorp.com/edu/meraki"
version = "1.0.0-beta"
version = "1.0.1-beta"
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ terraform {
required_providers {
meraki = {
source = "hashicorp.com/edu/meraki"
version = "1.0.0-beta"
version = "1.0.1-beta"
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ terraform {
required_providers {
meraki = {
source = "hashicorp.com/edu/meraki"
version = "1.0.0-beta"
version = "1.0.1-beta"
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ terraform {
required_providers {
meraki = {
source = "hashicorp.com/edu/meraki"
version = "1.0.0-beta"
version = "1.0.1-beta"
}
}

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
terraform {
required_providers {
meraki = {
version = "1.0.0-beta"
version = "1.0.1-beta"
source = "hashicorp.com/edu/meraki"
# "hashicorp.com/edu/meraki" is the local built source, change to "cisco-en-programmability/meraki" to use downloaded version from registry
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
terraform {
required_providers {
meraki = {
version = "1.0.0-beta"
version = "1.0.1-beta"
source = "hashicorp.com/edu/meraki"
# "hashicorp.com/edu/meraki" is the local built source, change to "cisco-en-programmability/meraki" to use downloaded version from registry
}
Expand Down
Loading

0 comments on commit 55dbe8e

Please sign in to comment.