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

meraki_networks_camera_quality_retention_profiles - Value Conversion Error #186

Open
jkoebel-wblab opened this issue Dec 4, 2024 · 0 comments

Comments

@jkoebel-wblab
Copy link

jkoebel-wblab commented Dec 4, 2024

I am getting an error when testing the following...

terraform {
required_providers {
meraki = {
source = "cisco-open/meraki"
version = "0.2.13-alpha"
}
}
}

data "meraki_networks_camera_quality_retention_profiles" "example" {

network_id = "L_636696397319514501"
}

output "meraki_networks_camera_quality_retention_profiles_example" {
value = data.meraki_networks_camera_quality_retention_profiles.example.items
}

Error Output

Planning failed. Terraform encountered an error while generating this plan.


│ Error: Value Conversion Error

│ with data.meraki_networks_camera_quality_retention_profiles.example,
│ on get_camera_quality_settings.tf line 10, in data "meraki_networks_camera_quality_retention_profiles" "example":
│ 10: data "meraki_networks_camera_quality_retention_profiles" "example" {

│ An unexpected error was encountered trying to convert from struct value. This is always an error in the provider. Please report the following to the provider developer:

│ error retrieving field names from struct tags: items[0].video_settings.mv12/mv22/mv72: invalid tfsdk tag, must only use lowercase letters, underscores, and numbers, and must start with a letter

Output of this API call working in Postman

"id": "636696397319504054",
"name": "Test2",
"restrictedBandwidthModeEnabled": false,
"motionBasedRetentionEnabled": true,
"audioRecordingEnabled": false,
"cloudArchiveEnabled": false,
"maxRetentionDays": null,
"scheduleId": null,
"motionDetectorVersion": 2,
"smartRetention": {
"enabled": false
},
"videoSettings": {
"MV2": {
"quality": "Standard",
"resolution": "1920x1080"
},
"MV13": {
"quality": "Standard",
"resolution": "1920x1080"
},
"MV32": {
"quality": "High",
"resolution": "2112x2112"
},
"MV33": {
"quality": "Standard",
"resolution": "1080x1080"
},
"MV52": {
"quality": "Enhanced",
"resolution": "3840x2160"
},
"MV63": {
"quality": "Enhanced",
"resolution": "1920x1080"
},
"MV93": {
"quality": "High",
"resolution": "2112x2112"
},
"MV63X": {
"quality": "Enhanced",
"resolution": "3840x2160"
},
"MV93X": {
"quality": "Enhanced",
"resolution": "2880x2880"
},
"MV12WE": {
"quality": "High",
"resolution": "1920x1080"
},
"MV21/MV71": {
"quality": "Enhanced",
"resolution": "1280x720"
},
"MV22X/MV72X": {
"quality": "Enhanced",
"resolution": "2688x1512"
},
"MV12/MV22/MV72": {
"quality": "High",
"resolution": "1920x1080"
},
"MV63M": {
"quality": "Standard",
"resolution": "1920x1080"
},
"MV93M": {
"quality": "Standard",
"resolution": "1080x1080"
},
"MV13M": {
"quality": "Enhanced",
"resolution": "2688x1512"
},
"MV33M": {
"quality": "Enhanced",
"resolution": "2112x2112"
},
"MV23": {
"quality": "Standard",
"resolution": "1920x1080"
},
"MV23M": {
"quality": "Standard",
"resolution": "1920x1080"
},
"MV23X": {
"quality": "Standard",
"resolution": "1920x1080"
},
"MV73": {
"quality": "Standard",
"resolution": "1920x1080"
},
"MV73M": {
"quality": "Standard",
"resolution": "1920x1080"
},
"MV73X": {
"quality": "Standard",
"resolution": "1920x1080"
}
}
}
]

Debug

2024-12-03T21:24:43.935-0600 [INFO] Terraform version: 1.10.0
2024-12-03T21:24:43.935-0600 [DEBUG] using github.com/hashicorp/go-tfe v1.70.0
2024-12-03T21:24:43.935-0600 [DEBUG] using github.com/hashicorp/hcl/v2 v2.23.0
2024-12-03T21:24:43.935-0600 [DEBUG] using github.com/hashicorp/terraform-svchost v0.1.1
2024-12-03T21:24:43.935-0600 [DEBUG] using github.com/zclconf/go-cty v1.15.1-0.20241111215639-63279be090d7
2024-12-03T21:24:43.935-0600 [INFO] Go runtime version: go1.23.3
2024-12-03T21:24:43.935-0600 [INFO] CLI args: []string{"terraform", "plan"}
2024-12-03T21:24:43.935-0600 [DEBUG] Attempting to open CLI config file: /Users/jokoebel/.terraformrc
2024-12-03T21:24:43.935-0600 [DEBUG] File doesn't exist, but doesn't need to. Ignoring.
2024-12-03T21:24:43.936-0600 [DEBUG] ignoring non-existing provider search directory terraform.d/plugins
2024-12-03T21:24:43.936-0600 [DEBUG] ignoring non-existing provider search directory /Users/jokoebel/.terraform.d/plugins
2024-12-03T21:24:43.936-0600 [DEBUG] ignoring non-existing provider search directory /Users/jokoebel/Library/Application Support/io.terraform/plugins
2024-12-03T21:24:43.936-0600 [DEBUG] ignoring non-existing provider search directory /Library/Application Support/io.terraform/plugins
2024-12-03T21:24:43.937-0600 [INFO] CLI command args: []string{"plan"}
2024-12-03T21:24:43.970-0600 [DEBUG] checking for provisioner in "."
2024-12-03T21:24:43.971-0600 [DEBUG] checking for provisioner in "/opt/homebrew/bin"
2024-12-03T21:24:43.972-0600 [INFO] backend/local: starting Plan operation
2024-12-03T21:24:43.978-0600 [DEBUG] created provider logger: level=debug
2024-12-03T21:24:43.978-0600 [INFO] provider: configuring client automatic mTLS
2024-12-03T21:24:43.989-0600 [DEBUG] provider: starting plugin: path=.terraform/providers/registry.terraform.io/cisco-open/meraki/0.2.13-alpha/darwin_arm64/terraform-provider-meraki_v0.2.13-alpha args=[".terraform/providers/registry.terraform.io/cisco-open/meraki/0.2.13-alpha/darwin_arm64/terraform-provider-meraki_v0.2.13-alpha"]
2024-12-03T21:24:43.992-0600 [DEBUG] provider: plugin started: path=.terraform/providers/registry.terraform.io/cisco-open/meraki/0.2.13-alpha/darwin_arm64/terraform-provider-meraki_v0.2.13-alpha pid=30140
2024-12-03T21:24:43.992-0600 [DEBUG] provider: waiting for RPC address: plugin=.terraform/providers/registry.terraform.io/cisco-open/meraki/0.2.13-alpha/darwin_arm64/terraform-provider-meraki_v0.2.13-alpha
2024-12-03T21:24:44.007-0600 [INFO] provider.terraform-provider-meraki_v0.2.13-alpha: configuring server automatic mTLS: timestamp=2024-12-03T21:24:44.007-0600
2024-12-03T21:24:44.013-0600 [DEBUG] provider.terraform-provider-meraki_v0.2.13-alpha: plugin address: address=/var/folders/sr/9fp2mt3s7t37bp3b5bw0cklh0000gn/T/plugin3387542712 network=unix timestamp=2024-12-03T21:24:44.013-0600
2024-12-03T21:24:44.013-0600 [DEBUG] provider: using plugin: version=6
2024-12-03T21:24:44.064-0600 [DEBUG] No provider meta schema returned
2024-12-03T21:24:44.073-0600 [DEBUG] provider.stdio: received EOF, stopping recv loop: err="rpc error: code = Unavailable desc = error reading from server: EOF"
2024-12-03T21:24:44.074-0600 [INFO] provider: plugin process exited: plugin=.terraform/providers/registry.terraform.io/cisco-open/meraki/0.2.13-alpha/darwin_arm64/terraform-provider-meraki_v0.2.13-alpha id=30140
2024-12-03T21:24:44.074-0600 [DEBUG] provider: plugin exited
2024-12-03T21:24:44.074-0600 [DEBUG] Building and walking validate graph
2024-12-03T21:24:44.076-0600 [DEBUG] ProviderTransformer: "data.meraki_networks_camera_quality_retention_profiles.example" (*terraform.NodeValidatableResource) needs provider["registry.terraform.io/cisco-open/meraki"]
2024-12-03T21:24:44.076-0600 [DEBUG] ReferenceTransformer: "data.meraki_networks_camera_quality_retention_profiles.example" references: []
2024-12-03T21:24:44.076-0600 [DEBUG] ReferenceTransformer: "output.meraki_networks_camera_quality_retention_profiles_example (expand)" references: [data.meraki_networks_camera_quality_retention_profiles.example]
2024-12-03T21:24:44.076-0600 [DEBUG] ReferenceTransformer: "provider["registry.terraform.io/cisco-open/meraki"]" references: []
2024-12-03T21:24:44.077-0600 [DEBUG] Starting graph walk: walkValidate
2024-12-03T21:24:44.079-0600 [DEBUG] created provider logger: level=debug
2024-12-03T21:24:44.079-0600 [INFO] provider: configuring client automatic mTLS
2024-12-03T21:24:44.081-0600 [DEBUG] provider: starting plugin: path=.terraform/providers/registry.terraform.io/cisco-open/meraki/0.2.13-alpha/darwin_arm64/terraform-provider-meraki_v0.2.13-alpha args=[".terraform/providers/registry.terraform.io/cisco-open/meraki/0.2.13-alpha/darwin_arm64/terraform-provider-meraki_v0.2.13-alpha"]
2024-12-03T21:24:44.083-0600 [DEBUG] provider: plugin started: path=.terraform/providers/registry.terraform.io/cisco-open/meraki/0.2.13-alpha/darwin_arm64/terraform-provider-meraki_v0.2.13-alpha pid=30141
2024-12-03T21:24:44.083-0600 [DEBUG] provider: waiting for RPC address: plugin=.terraform/providers/registry.terraform.io/cisco-open/meraki/0.2.13-alpha/darwin_arm64/terraform-provider-meraki_v0.2.13-alpha
2024-12-03T21:24:44.093-0600 [INFO] provider.terraform-provider-meraki_v0.2.13-alpha: configuring server automatic mTLS: timestamp=2024-12-03T21:24:44.093-0600
2024-12-03T21:24:44.099-0600 [DEBUG] provider.terraform-provider-meraki_v0.2.13-alpha: plugin address: address=/var/folders/sr/9fp2mt3s7t37bp3b5bw0cklh0000gn/T/plugin1892721844 network=unix timestamp=2024-12-03T21:24:44.099-0600
2024-12-03T21:24:44.099-0600 [DEBUG] provider: using plugin: version=6
2024-12-03T21:24:44.104-0600 [DEBUG] skipping FixUpBlockAttrs
2024-12-03T21:24:44.108-0600 [DEBUG] provider.stdio: received EOF, stopping recv loop: err="rpc error: code = Unavailable desc = error reading from server: EOF"
2024-12-03T21:24:44.108-0600 [INFO] provider: plugin process exited: plugin=.terraform/providers/registry.terraform.io/cisco-open/meraki/0.2.13-alpha/darwin_arm64/terraform-provider-meraki_v0.2.13-alpha id=30141
2024-12-03T21:24:44.108-0600 [DEBUG] provider: plugin exited
2024-12-03T21:24:44.109-0600 [INFO] backend/local: plan calling Plan
2024-12-03T21:24:44.110-0600 [DEBUG] Building and walking plan graph for NormalMode
2024-12-03T21:24:44.110-0600 [DEBUG] ProviderTransformer: "data.meraki_networks_camera_quality_retention_profiles.example (expand)" (*terraform.nodeExpandPlannableResource) needs provider["registry.terraform.io/cisco-open/meraki"]
2024-12-03T21:24:44.110-0600 [DEBUG] ReferenceTransformer: "data.meraki_networks_camera_quality_retention_profiles.example (expand)" references: []
2024-12-03T21:24:44.110-0600 [DEBUG] ReferenceTransformer: "output.meraki_networks_camera_quality_retention_profiles_example (expand)" references: [data.meraki_networks_camera_quality_retention_profiles.example (expand)]
2024-12-03T21:24:44.110-0600 [DEBUG] ReferenceTransformer: "provider["registry.terraform.io/cisco-open/meraki"]" references: []
2024-12-03T21:24:44.110-0600 [DEBUG] Starting graph walk: walkPlan
2024-12-03T21:24:44.111-0600 [DEBUG] created provider logger: level=debug
2024-12-03T21:24:44.111-0600 [INFO] provider: configuring client automatic mTLS
2024-12-03T21:24:44.113-0600 [DEBUG] provider: starting plugin: path=.terraform/providers/registry.terraform.io/cisco-open/meraki/0.2.13-alpha/darwin_arm64/terraform-provider-meraki_v0.2.13-alpha args=[".terraform/providers/registry.terraform.io/cisco-open/meraki/0.2.13-alpha/darwin_arm64/terraform-provider-meraki_v0.2.13-alpha"]
2024-12-03T21:24:44.115-0600 [DEBUG] provider: plugin started: path=.terraform/providers/registry.terraform.io/cisco-open/meraki/0.2.13-alpha/darwin_arm64/terraform-provider-meraki_v0.2.13-alpha pid=30142
2024-12-03T21:24:44.115-0600 [DEBUG] provider: waiting for RPC address: plugin=.terraform/providers/registry.terraform.io/cisco-open/meraki/0.2.13-alpha/darwin_arm64/terraform-provider-meraki_v0.2.13-alpha
2024-12-03T21:24:44.124-0600 [INFO] provider.terraform-provider-meraki_v0.2.13-alpha: configuring server automatic mTLS: timestamp=2024-12-03T21:24:44.124-0600
2024-12-03T21:24:44.129-0600 [DEBUG] provider: using plugin: version=6
2024-12-03T21:24:44.129-0600 [DEBUG] provider.terraform-provider-meraki_v0.2.13-alpha: plugin address: address=/var/folders/sr/9fp2mt3s7t37bp3b5bw0cklh0000gn/T/plugin228962623 network=unix timestamp=2024-12-03T21:24:44.129-0600
2024-12-03T21:24:44.135-0600 [DEBUG] Resource instance state not found for node "data.meraki_networks_camera_quality_retention_profiles.example", instance data.meraki_networks_camera_quality_retention_profiles.example
2024-12-03T21:24:44.135-0600 [DEBUG] ReferenceTransformer: "data.meraki_networks_camera_quality_retention_profiles.example" references: []
2024-12-03T21:24:44.136-0600 [DEBUG] skipping FixUpBlockAttrs
data.meraki_networks_camera_quality_retention_profiles.example: Reading...
2024-12-03T21:24:44.139-0600 [DEBUG] provider.terraform-provider-meraki_v0.2.13-alpha: 2024/12/03 21:24:44 [DEBUG] Selecting method. Method 1 [true]
2024-12-03T21:24:44.139-0600 [DEBUG] provider.terraform-provider-meraki_v0.2.13-alpha: 2024/12/03 21:24:44 [DEBUG] Selecting method. Method 2 [true false]
2024-12-03T21:24:44.139-0600 [DEBUG] provider.terraform-provider-meraki_v0.2.13-alpha: 2024/12/03 21:24:44 [DEBUG] Selected method: GetNetworkCameraQualityRetentionProfiles
2024-12-03T21:24:44.590-0600 [DEBUG] provider.terraform-provider-meraki_v0.2.13-alpha: 2024/12/03 21:24:44
2024-12-03T21:24:44.590-0600 [DEBUG] provider.terraform-provider-meraki_v0.2.13-alpha: ==============================================================================
2024-12-03T21:24:44.590-0600 [DEBUG] provider.terraform-provider-meraki_v0.2.13-alpha: ~~~ REQUEST(curl) ~~~
2024-12-03T21:24:44.590-0600 [DEBUG] provider.terraform-provider-meraki_v0.2.13-alpha: CURL:
2024-12-03T21:24:44.590-0600 [DEBUG] provider.terraform-provider-meraki_v0.2.13-alpha: curl -X GET -H 'Accept: application/json' -H 'Authorization: Bearer ****files
2024-12-03T21:24:44.590-0600 [DEBUG] provider.terraform-provider-meraki_v0.2.13-alpha: ~~~ REQUEST ~~~
2024-12-03T21:24:44.590-0600 [DEBUG] provider.terraform-provider-meraki_v0.2.13-alpha: GET /api/v1/networks/L_636696397319514501/camera/qualityRetentionProfiles HTTP/1.1
2024-12-03T21:24:44.590-0600 [DEBUG] provider.terraform-provider-meraki_v0.2.13-alpha: HOST : api.meraki.com
2024-12-03T21:24:44.590-0600 [DEBUG] provider.terraform-provider-meraki_v0.2.13-alpha: HEADERS:
2024-12-03T21:24:44.590-0600 [DEBUG] provider.terraform-provider-meraki_v0.2.13-alpha: Accept: application/json
2024-12-03T21:24:44.590-0600 [DEBUG] provider.terraform-provider-meraki_v0.2.13-alpha: Authorization: Bearer ****92061
2024-12-03T21:24:44.590-0600 [DEBUG] provider.terraform-provider-meraki_v0.2.13-alpha: Content-Type: application/json
2024-12-03T21:24:44.590-0600 [DEBUG] provider.terraform-provider-meraki_v0.2.13-alpha: User-Agent: go-meraki/1.44.1 MerakiTerraform/1.47.0 Cisco
2024-12-03T21:24:44.590-0600 [DEBUG] provider.terraform-provider-meraki_v0.2.13-alpha: BODY :
2024-12-03T21:24:44.590-0600 [DEBUG] provider.terraform-provider-meraki_v0.2.13-alpha: ***** NO CONTENT *****
2024-12-03T21:24:44.590-0600 [DEBUG] provider.terraform-provider-meraki_v0.2.13-alpha: ------------------------------------------------------------------------------
2024-12-03T21:24:44.590-0600 [DEBUG] provider.terraform-provider-meraki_v0.2.13-alpha: ~~~ RESPONSE ~~~
2024-12-03T21:24:44.590-0600 [DEBUG] provider.terraform-provider-meraki_v0.2.13-alpha: STATUS : 200 OK
2024-12-03T21:24:44.591-0600 [DEBUG] provider.terraform-provider-meraki_v0.2.13-alpha: PROTO : HTTP/2.0
2024-12-03T21:24:44.591-0600 [DEBUG] provider.terraform-provider-meraki_v0.2.13-alpha: RECEIVED AT : 2024-12-03T21:24:44.589518-06:00
2024-12-03T21:24:44.591-0600 [DEBUG] provider.terraform-provider-meraki_v0.2.13-alpha: TIME DURATION: 449.651708ms
2024-12-03T21:24:44.591-0600 [DEBUG] provider.terraform-provider-meraki_v0.2.13-alpha: HEADERS :
2024-12-03T21:24:44.591-0600 [DEBUG] provider.terraform-provider-meraki_v0.2.13-alpha: Cache-Control: no-cache, no-store, max-age=0, must-revalidate
2024-12-03T21:24:44.591-0600 [DEBUG] provider.terraform-provider-meraki_v0.2.13-alpha: Content-Type: application/json; charset=utf-8
2024-12-03T21:24:44.591-0600 [DEBUG] provider.terraform-provider-meraki_v0.2.13-alpha: Date: Wed, 04 Dec 2024 03:24:44 GMT
2024-12-03T21:24:44.591-0600 [DEBUG] provider.terraform-provider-meraki_v0.2.13-alpha: Expires: Fri, 01 Jan 1990 00:00:00 GMT
2024-12-03T21:24:44.591-0600 [DEBUG] provider.terraform-provider-meraki_v0.2.13-alpha: Pragma: no-cache
2024-12-03T21:24:44.591-0600 [DEBUG] provider.terraform-provider-meraki_v0.2.13-alpha: Strict-Transport-Security: max-age=31536000; includeSubDomains
2024-12-03T21:24:44.591-0600 [DEBUG] provider.terraform-provider-meraki_v0.2.13-alpha: Vary: Accept-Encoding
2024-12-03T21:24:44.591-0600 [DEBUG] provider.terraform-provider-meraki_v0.2.13-alpha: X-Content-Type-Options: nosniff
2024-12-03T21:24:44.591-0600 [DEBUG] provider.terraform-provider-meraki_v0.2.13-alpha: X-Frame-Options: sameorigin
2024-12-03T21:24:44.591-0600 [DEBUG] provider.terraform-provider-meraki_v0.2.13-alpha: X-Request-Id: af8cdf4e7a40d075970e43c47438f15d
2024-12-03T21:24:44.591-0600 [DEBUG] provider.terraform-provider-meraki_v0.2.13-alpha: X-Robots-Tag: none
2024-12-03T21:24:44.591-0600 [DEBUG] provider.terraform-provider-meraki_v0.2.13-alpha: X-Runtime: 0.173354
2024-12-03T21:24:44.591-0600 [DEBUG] provider.terraform-provider-meraki_v0.2.13-alpha: X-Xss-Protection: 1; mode=block, 1; mode=block
2024-12-03T21:24:44.591-0600 [DEBUG] provider.terraform-provider-meraki_v0.2.13-alpha: BODY :
2024-12-03T21:24:44.591-0600 [DEBUG] provider.terraform-provider-meraki_v0.2.13-alpha: [
2024-12-03T21:24:44.591-0600 [DEBUG] provider.terraform-provider-meraki_v0.2.13-alpha: {
2024-12-03T21:24:44.591-0600 [DEBUG] provider.terraform-provider-meraki_v0.2.13-alpha: "id": "636696397319504054",
2024-12-03T21:24:44.591-0600 [DEBUG] provider.terraform-provider-meraki_v0.2.13-alpha: "name": "Test2",
2024-12-03T21:24:44.591-0600 [DEBUG] provider.terraform-provider-meraki_v0.2.13-alpha: "restrictedBandwidthModeEnabled": false,
2024-12-03T21:24:44.591-0600 [DEBUG] provider.terraform-provider-meraki_v0.2.13-alpha: "motionBasedRetentionEnabled": true,
2024-12-03T21:24:44.591-0600 [DEBUG] provider.terraform-provider-meraki_v0.2.13-alpha: "audioRecordingEnabled": false,
2024-12-03T21:24:44.591-0600 [DEBUG] provider.terraform-provider-meraki_v0.2.13-alpha: "cloudArchiveEnabled": false,
2024-12-03T21:24:44.591-0600 [DEBUG] provider.terraform-provider-meraki_v0.2.13-alpha: "maxRetentionDays": null,
2024-12-03T21:24:44.591-0600 [DEBUG] provider.terraform-provider-meraki_v0.2.13-alpha: "scheduleId": null,
2024-12-03T21:24:44.591-0600 [DEBUG] provider.terraform-provider-meraki_v0.2.13-alpha: "motionDetectorVersion": 2,
2024-12-03T21:24:44.591-0600 [DEBUG] provider.terraform-provider-meraki_v0.2.13-alpha: "smartRetention": {
2024-12-03T21:24:44.591-0600 [DEBUG] provider.terraform-provider-meraki_v0.2.13-alpha: "enabled": false
2024-12-03T21:24:44.591-0600 [DEBUG] provider.terraform-provider-meraki_v0.2.13-alpha: },
2024-12-03T21:24:44.591-0600 [DEBUG] provider.terraform-provider-meraki_v0.2.13-alpha: "videoSettings": {
2024-12-03T21:24:44.592-0600 [DEBUG] provider.terraform-provider-meraki_v0.2.13-alpha: "MV2": {
2024-12-03T21:24:44.592-0600 [DEBUG] provider.terraform-provider-meraki_v0.2.13-alpha: "quality": "Standard",
2024-12-03T21:24:44.592-0600 [DEBUG] provider.terraform-provider-meraki_v0.2.13-alpha: "resolution": "1920x1080"
2024-12-03T21:24:44.592-0600 [DEBUG] provider.terraform-provider-meraki_v0.2.13-alpha: },
2024-12-03T21:24:44.592-0600 [DEBUG] provider.terraform-provider-meraki_v0.2.13-alpha: "MV13": {
2024-12-03T21:24:44.592-0600 [DEBUG] provider.terraform-provider-meraki_v0.2.13-alpha: "quality": "Standard",
2024-12-03T21:24:44.592-0600 [DEBUG] provider.terraform-provider-meraki_v0.2.13-alpha: "resolution": "1920x1080"
2024-12-03T21:24:44.592-0600 [DEBUG] provider.terraform-provider-meraki_v0.2.13-alpha: },
2024-12-03T21:24:44.592-0600 [DEBUG] provider.terraform-provider-meraki_v0.2.13-alpha: "MV32": {
2024-12-03T21:24:44.592-0600 [DEBUG] provider.terraform-provider-meraki_v0.2.13-alpha: "quality": "High",
2024-12-03T21:24:44.592-0600 [DEBUG] provider.terraform-provider-meraki_v0.2.13-alpha: "resolution": "2112x2112"
2024-12-03T21:24:44.592-0600 [DEBUG] provider.terraform-provider-meraki_v0.2.13-alpha: },
2024-12-03T21:24:44.592-0600 [DEBUG] provider.terraform-provider-meraki_v0.2.13-alpha: "MV33": {
2024-12-03T21:24:44.592-0600 [DEBUG] provider.terraform-provider-meraki_v0.2.13-alpha: "quality": "Standard",
2024-12-03T21:24:44.592-0600 [DEBUG] provider.terraform-provider-meraki_v0.2.13-alpha: "resolution": "1080x1080"
2024-12-03T21:24:44.592-0600 [DEBUG] provider.terraform-provider-meraki_v0.2.13-alpha: },
2024-12-03T21:24:44.592-0600 [DEBUG] provider.terraform-provider-meraki_v0.2.13-alpha: "MV52": {
2024-12-03T21:24:44.592-0600 [DEBUG] provider.terraform-provider-meraki_v0.2.13-alpha: "quality": "Enhanced",
2024-12-03T21:24:44.592-0600 [DEBUG] provider.terraform-provider-meraki_v0.2.13-alpha: "resolution": "3840x2160"
2024-12-03T21:24:44.592-0600 [DEBUG] provider.terraform-provider-meraki_v0.2.13-alpha: },
2024-12-03T21:24:44.592-0600 [DEBUG] provider.terraform-provider-meraki_v0.2.13-alpha: "MV63": {
2024-12-03T21:24:44.592-0600 [DEBUG] provider.terraform-provider-meraki_v0.2.13-alpha: "quality": "Enhanced",
2024-12-03T21:24:44.592-0600 [DEBUG] provider.terraform-provider-meraki_v0.2.13-alpha: "resolution": "1920x1080"
2024-12-03T21:24:44.592-0600 [DEBUG] provider.terraform-provider-meraki_v0.2.13-alpha: },
2024-12-03T21:24:44.592-0600 [DEBUG] provider.terraform-provider-meraki_v0.2.13-alpha: "MV93": {
2024-12-03T21:24:44.592-0600 [DEBUG] provider.terraform-provider-meraki_v0.2.13-alpha: "quality": "High",
2024-12-03T21:24:44.592-0600 [DEBUG] provider.terraform-provider-meraki_v0.2.13-alpha: "resolution": "2112x2112"
2024-12-03T21:24:44.592-0600 [DEBUG] provider.terraform-provider-meraki_v0.2.13-alpha: },
2024-12-03T21:24:44.592-0600 [DEBUG] provider.terraform-provider-meraki_v0.2.13-alpha: "MV63X": {
2024-12-03T21:24:44.592-0600 [DEBUG] provider.terraform-provider-meraki_v0.2.13-alpha: "quality": "Enhanced",
2024-12-03T21:24:44.592-0600 [DEBUG] provider.terraform-provider-meraki_v0.2.13-alpha: "resolution": "3840x2160"
2024-12-03T21:24:44.592-0600 [DEBUG] provider.terraform-provider-meraki_v0.2.13-alpha: },
2024-12-03T21:24:44.592-0600 [DEBUG] provider.terraform-provider-meraki_v0.2.13-alpha: "MV93X": {
2024-12-03T21:24:44.592-0600 [DEBUG] provider.terraform-provider-meraki_v0.2.13-alpha: "quality": "Enhanced",
2024-12-03T21:24:44.592-0600 [DEBUG] provider.terraform-provider-meraki_v0.2.13-alpha: "resolution": "2880x2880"
2024-12-03T21:24:44.592-0600 [DEBUG] provider.terraform-provider-meraki_v0.2.13-alpha: },
2024-12-03T21:24:44.592-0600 [DEBUG] provider.terraform-provider-meraki_v0.2.13-alpha: "MV12WE": {
2024-12-03T21:24:44.592-0600 [DEBUG] provider.terraform-provider-meraki_v0.2.13-alpha: "quality": "High",
2024-12-03T21:24:44.592-0600 [DEBUG] provider.terraform-provider-meraki_v0.2.13-alpha: "resolution": "1920x1080"
2024-12-03T21:24:44.592-0600 [DEBUG] provider.terraform-provider-meraki_v0.2.13-alpha: },
2024-12-03T21:24:44.592-0600 [DEBUG] provider.terraform-provider-meraki_v0.2.13-alpha: "MV21/MV71": {
2024-12-03T21:24:44.592-0600 [DEBUG] provider.terraform-provider-meraki_v0.2.13-alpha: "quality": "Enhanced",
2024-12-03T21:24:44.592-0600 [DEBUG] provider.terraform-provider-meraki_v0.2.13-alpha: "resolution": "1280x720"
2024-12-03T21:24:44.592-0600 [DEBUG] provider.terraform-provider-meraki_v0.2.13-alpha: },
2024-12-03T21:24:44.592-0600 [DEBUG] provider.terraform-provider-meraki_v0.2.13-alpha: "MV22X/MV72X": {
2024-12-03T21:24:44.592-0600 [DEBUG] provider.terraform-provider-meraki_v0.2.13-alpha: "quality": "Enhanced",
2024-12-03T21:24:44.592-0600 [DEBUG] provider.terraform-provider-meraki_v0.2.13-alpha: "resolution": "2688x1512"
2024-12-03T21:24:44.592-0600 [DEBUG] provider.terraform-provider-meraki_v0.2.13-alpha: },
2024-12-03T21:24:44.592-0600 [DEBUG] provider.terraform-provider-meraki_v0.2.13-alpha: "MV12/MV22/MV72": {
2024-12-03T21:24:44.592-0600 [DEBUG] provider.terraform-provider-meraki_v0.2.13-alpha: "quality": "High",
2024-12-03T21:24:44.593-0600 [DEBUG] provider.terraform-provider-meraki_v0.2.13-alpha: "resolution": "1920x1080"
2024-12-03T21:24:44.593-0600 [DEBUG] provider.terraform-provider-meraki_v0.2.13-alpha: },
2024-12-03T21:24:44.593-0600 [DEBUG] provider.terraform-provider-meraki_v0.2.13-alpha: "MV63M": {
2024-12-03T21:24:44.593-0600 [DEBUG] provider.terraform-provider-meraki_v0.2.13-alpha: "quality": "Standard",
2024-12-03T21:24:44.593-0600 [DEBUG] provider.terraform-provider-meraki_v0.2.13-alpha: "resolution": "1920x1080"
2024-12-03T21:24:44.593-0600 [DEBUG] provider.terraform-provider-meraki_v0.2.13-alpha: },
2024-12-03T21:24:44.593-0600 [DEBUG] provider.terraform-provider-meraki_v0.2.13-alpha: "MV93M": {
2024-12-03T21:24:44.593-0600 [DEBUG] provider.terraform-provider-meraki_v0.2.13-alpha: "quality": "Standard",
2024-12-03T21:24:44.593-0600 [DEBUG] provider.terraform-provider-meraki_v0.2.13-alpha: "resolution": "1080x1080"
2024-12-03T21:24:44.593-0600 [DEBUG] provider.terraform-provider-meraki_v0.2.13-alpha: },
2024-12-03T21:24:44.593-0600 [DEBUG] provider.terraform-provider-meraki_v0.2.13-alpha: "MV13M": {
2024-12-03T21:24:44.593-0600 [DEBUG] provider.terraform-provider-meraki_v0.2.13-alpha: "quality": "Enhanced",
2024-12-03T21:24:44.593-0600 [DEBUG] provider.terraform-provider-meraki_v0.2.13-alpha: "resolution": "2688x1512"
2024-12-03T21:24:44.593-0600 [DEBUG] provider.terraform-provider-meraki_v0.2.13-alpha: },
2024-12-03T21:24:44.593-0600 [DEBUG] provider.terraform-provider-meraki_v0.2.13-alpha: "MV33M": {
2024-12-03T21:24:44.593-0600 [DEBUG] provider.terraform-provider-meraki_v0.2.13-alpha: "quality": "Enhanced",
2024-12-03T21:24:44.593-0600 [DEBUG] provider.terraform-provider-meraki_v0.2.13-alpha: "resolution": "2112x2112"
2024-12-03T21:24:44.593-0600 [DEBUG] provider.terraform-provider-meraki_v0.2.13-alpha: },
2024-12-03T21:24:44.593-0600 [DEBUG] provider.terraform-provider-meraki_v0.2.13-alpha: "MV23": {
2024-12-03T21:24:44.593-0600 [DEBUG] provider.terraform-provider-meraki_v0.2.13-alpha: "quality": "Standard",
2024-12-03T21:24:44.593-0600 [DEBUG] provider.terraform-provider-meraki_v0.2.13-alpha: "resolution": "1920x1080"
2024-12-03T21:24:44.593-0600 [DEBUG] provider.terraform-provider-meraki_v0.2.13-alpha: },
2024-12-03T21:24:44.593-0600 [DEBUG] provider.terraform-provider-meraki_v0.2.13-alpha: "MV23M": {
2024-12-03T21:24:44.593-0600 [DEBUG] provider.terraform-provider-meraki_v0.2.13-alpha: "quality": "Standard",
2024-12-03T21:24:44.593-0600 [DEBUG] provider.terraform-provider-meraki_v0.2.13-alpha: "resolution": "1920x1080"
2024-12-03T21:24:44.593-0600 [DEBUG] provider.terraform-provider-meraki_v0.2.13-alpha: },
2024-12-03T21:24:44.593-0600 [DEBUG] provider.terraform-provider-meraki_v0.2.13-alpha: "MV23X": {
2024-12-03T21:24:44.593-0600 [DEBUG] provider.terraform-provider-meraki_v0.2.13-alpha: "quality": "Standard",
2024-12-03T21:24:44.593-0600 [DEBUG] provider.terraform-provider-meraki_v0.2.13-alpha: "resolution": "1920x1080"
2024-12-03T21:24:44.593-0600 [DEBUG] provider.terraform-provider-meraki_v0.2.13-alpha: },
2024-12-03T21:24:44.593-0600 [DEBUG] provider.terraform-provider-meraki_v0.2.13-alpha: "MV73": {
2024-12-03T21:24:44.593-0600 [DEBUG] provider.terraform-provider-meraki_v0.2.13-alpha: "quality": "Standard",
2024-12-03T21:24:44.593-0600 [DEBUG] provider.terraform-provider-meraki_v0.2.13-alpha: "resolution": "1920x1080"
2024-12-03T21:24:44.593-0600 [DEBUG] provider.terraform-provider-meraki_v0.2.13-alpha: },
2024-12-03T21:24:44.593-0600 [DEBUG] provider.terraform-provider-meraki_v0.2.13-alpha: "MV73M": {
2024-12-03T21:24:44.593-0600 [DEBUG] provider.terraform-provider-meraki_v0.2.13-alpha: "quality": "Standard",
2024-12-03T21:24:44.593-0600 [DEBUG] provider.terraform-provider-meraki_v0.2.13-alpha: "resolution": "1920x1080"
2024-12-03T21:24:44.593-0600 [DEBUG] provider.terraform-provider-meraki_v0.2.13-alpha: },
2024-12-03T21:24:44.593-0600 [DEBUG] provider.terraform-provider-meraki_v0.2.13-alpha: "MV73X": {
2024-12-03T21:24:44.593-0600 [DEBUG] provider.terraform-provider-meraki_v0.2.13-alpha: "quality": "Standard",
2024-12-03T21:24:44.593-0600 [DEBUG] provider.terraform-provider-meraki_v0.2.13-alpha: "resolution": "1920x1080"
2024-12-03T21:24:44.593-0600 [DEBUG] provider.terraform-provider-meraki_v0.2.13-alpha: }
2024-12-03T21:24:44.593-0600 [DEBUG] provider.terraform-provider-meraki_v0.2.13-alpha: }
2024-12-03T21:24:44.593-0600 [DEBUG] provider.terraform-provider-meraki_v0.2.13-alpha: }
2024-12-03T21:24:44.593-0600 [DEBUG] provider.terraform-provider-meraki_v0.2.13-alpha: ]
2024-12-03T21:24:44.593-0600 [DEBUG] provider.terraform-provider-meraki_v0.2.13-alpha: ==============================================================================
2024-12-03T21:24:44.593-0600 [ERROR] provider.terraform-provider-meraki_v0.2.13-alpha: Response contains error diagnostic: @caller=github.com/hashicorp/[email protected]/tfprotov6/internal/diag/diagnostics.go:58
diagnostic_detail=
| An unexpected error was encountered trying to convert from struct value. This is always an error in the provider. Please report the following to the provider developer:
|
| error retrieving field names from struct tags: items[0].video_settings.mv12/mv22/mv72: invalid tfsdk tag, must only use lowercase letters, underscores, and numbers, and must start with a letter
tf_rpc=ReadDataSource diagnostic_attribute="AttributeName("items").ElementKeyInt(0).AttributeName("video_settings")" tf_data_source_type=meraki_networks_camera_quality_retention_profiles tf_proto_version=6.6 @module=sdk.proto diagnostic_severity=ERROR tf_req_id=7729dc18-b2aa-757f-258d-7524a5661ae9 diagnostic_summary="Value Conversion Error" tf_provider_addr=registry.terraform.io/CiscoDevNet/meraki timestamp=2024-12-03T21:24:44.592-0600
2024-12-03T21:24:44.596-0600 [ERROR] vertex "data.meraki_networks_camera_quality_retention_profiles.example" error: Value Conversion Error
2024-12-03T21:24:44.596-0600 [ERROR] vertex "data.meraki_networks_camera_quality_retention_profiles.example (expand)" error: Value Conversion Error
2024-12-03T21:24:44.596-0600 [WARN] Planning encountered errors, so plan is not applyable
2024-12-03T21:24:44.596-0600 [INFO] backend/local: plan operation completed

Planning failed. Terraform encountered an error while generating this plan.


│ Error: Value Conversion Error

│ with data.meraki_networks_camera_quality_retention_profiles.example,
│ on get_camera_quality_settings.tf line 10, in data "meraki_networks_camera_quality_retention_profiles" "example":
│ 10: data "meraki_networks_camera_quality_retention_profiles" "example" {

│ An unexpected error was encountered trying to convert from struct value. This is always an error in the provider. Please report the following to the provider developer:

│ error retrieving field names from struct tags: items[0].video_settings.mv12/mv22/mv72: invalid tfsdk tag, must only use lowercase letters, underscores, and numbers, and must start with a letter

2024-12-03T21:24:44.609-0600 [DEBUG] provider.stdio: received EOF, stopping recv loop: err="rpc error: code = Unavailable desc = error reading from server: EOF"
2024-12-03T21:24:44.610-0600 [INFO] provider: plugin process exited: plugin=.terraform/providers/registry.terraform.io/cisco-open/meraki/0.2.13-alpha/darwin_arm64/terraform-provider-meraki_v0.2.13-alpha id=30142
2024-12-03T21:24:44.610-0600 [DEBUG] provider: plugin exited

Environment

  • Terraform version: 1.10.0
  • Meraki provider version: 0.2.13-alpha
  • OS Version: 15.1.1 (darwin_arm64)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant