Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

unable to create meraki_networks_appliance_vlans with reserved_ip_ranges set #100

Closed
3 tasks done
zbuchheit opened this issue Jul 8, 2024 · 2 comments
Closed
3 tasks done

Comments

@zbuchheit
Copy link

Prerequisites

  • Have you tested the operation in the API directly?
  • Do you have the latest Terraform provider version?
  • Review the compatibility matrix before opening an issue.

Describe the bug

When attempting to create meraki_networks_appliance_vlans with reserved_ip_ranges set, it will successfully create the resource, but won't actually set the reserved_ip_ranges.

Expected behavior

I would expect it to create meraki_networks_appliance_vlans with reserved_ip_ranges set.

Repro

resource "meraki_networks_appliance_vlans" "example" {
   network_id = "redacted"
   appliance_ip = "192.168.2.1"
   id = "2"
   subnet = "192.168.2.0/24"
   name = "guest"
   dhcp_handling = "Do not respond to DHCP requests"
   dns_nameservers = "upstream_dns"
   dhcp_lease_time = "1 day"
   dhcp_boot_options_enabled = false
   reserved_ip_ranges = [
     { comment: "range1", start: "192.168.2.2", end: "192.168.2.3" }, # Not sent to the api on create
     { comment: "range2", start: "192.168.2.4", end: "192.168.2.5" }, # Not sent to the api on create
     { comment: "range3", start: "192.168.2.6", end: "192.168.2.7" }, # Not sent to the api on create
   ]
 }

Environment (please complete the following information):

  • Meraki Dashboard version:
  • Terraform version: 1.8.5
  • Meraki provider version: v0.2.5-alpha
  • OS Version:

Additional context

I assume this could be a limitation from the api. Create Network Appliance Vlan does not contain reservedIpRanges, while Update Network Appliance Vlan
does.

fmunozmiranda added a commit that referenced this issue Jul 11, 2024
…anges set #100

- meraki_networks_appliance_vlans somehow trigger to be updated after adding manually appliance warm spare on meraki dashboard #99
fmunozmiranda added a commit that referenced this issue Jul 15, 2024
BUGFIXES:
* Issue #88 fixed.
* Issue #89 fixed.
* Issue #92 fixed.
* Issue #93 fixed.
* Issue #94 fixed.
* Issue #96 fixed.
* Issue #97 fixed.
* Issue #98 fixed.
* Issue #99 fixed.
* Issue #100 fixed.
* Issue #101 fixed.
* Issue #107 fixed.
* Issue #108 fixed.
* Issue #109 fixed.
@fmunozmiranda fmunozmiranda mentioned this issue Jul 15, 2024
1 task
@fmunozmiranda
Copy link
Collaborator

@zbuchheit please try it again with new version and update us.

@zbuchheit
Copy link
Author

hi @fmunozmiranda I can confirm this issue to be resolved in the new version. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants