cisco-open / terraform-provider-meraki

A Terraform Provider for Cisco Meraki
Mozilla Public License 2.0
17 stars 7 forks source link

thirdPartyVPNPeers allows duplicate peer values when I would expect it not to #153

Open zbuchheit opened 2 months ago

zbuchheit commented 2 months ago

Prerequisites

Describe the bug The thirdPartyVPNPeers resource allows duplicate values. It would be nice to have validation to catch this before duplicate values are sent. This causes subsequent data lookups or refreshes to fail.

Expected behavior A validation error

Screenshots Please provide an screenshot of the successful API call with cuRL, Postman, etc.

Debug Please provide provider debug. This will help us get a clearer picture of the problem you are having, therefore the solution will be more effective. To enable debug:

export MERAKI_DEBUG=true
export TF_LOG=DEBUG

Environment (please complete the following information):

Additional context OpenAPI Issue: https://github.com/meraki/openapi/issues/55 Community Post: https://community.meraki.com/t5/Developers-APIs/Issue-with-duplicate-values-using-organizations-organizationId/m-p/246204?utm_source=communitymembers&utm_medium=email&utm_campaign=immediate_general%27#M11228