CiscoDevNet / terraform-provider-iosxe

Terraform Cisco IOS-XE Provider
https://registry.terraform.io/providers/CiscoDevNet/iosxe
Mozilla Public License 2.0
50 stars 22 forks source link

Problem applying iosxe_cli on csr 1000v running 17.03.08a #132

Closed thomasnoppe closed 3 months ago

thomasnoppe commented 3 months ago

resource "iosxe_cli" "test" { cli = <<-EOT int lo10 description test EOT device = var.csr_router }

Terraform will perform the following actions:

module.vpntunnel["csr-nxh-mer4-01"].iosxe_cli.test will be created

Plan: 1 to add, 0 to change, 0 to destroy.

module.vpntunnel["csr-nxh-mer4-01"].iosxe_cli.test: Creating... ╷ │ Error: Client Error │ │ with module.vpntunnel["csr-nxh-mer4-01"].iosxe_cli.test, │ on vpntunnel/main.tf line 129, in resource "iosxe_cli" "test": │ 129: resource "iosxe_cli" "test" { │ │ Failed to send CLI commands, got error: HTTP Request failed: StatusCode 400, RESTCONF errors {Error:[{ErrorType:application ErrorTag:malformed-message ErrorAppTag: ErrorPath: ErrorMessage:invalid path │ ErrorInfo:}]} {PatchId: GlobalStatus:{Ok:false Errors:{Error:[]}} EditStatus:{Edit:[]} Errors:{Error:[]}} ╵ make: *** [../scripts/Makefile:114: apply] Error 1

thomasnoppe commented 3 months ago

I have upgraded my csr1000v to catalyst8000V running 17.09.04.a and there it works.