tunnel protection ipsec profile ErrorMessage:unknown element
Opened this issue · 2 comments
Cisco CSR1000v
Cisco 8000v
resource "iosxe_interface_tunnel" "vti" {
name = 20
shutdown = false
ipv4_address = "hidden"
ipv4_address_mask = "hidden"
tunnel_source = "hidden"
tunnel_destination_ipv4 = "hidden"
tunnel_mode_ipsec_ipv4 = true
tunnel_protection_ipsec_profile = "AWS-IPSEC-PROFILE"
}
Failed to configure object (PATCH), got error: HTTP Request failed: StatusCode 400, RESTCONF errors {Error:[{ErrorType:application
│ ErrorTag:malformed-message ErrorAppTag: ErrorPath:/Cisco-IOS-XE-native:native/interface/Tunnel ErrorMessage:unknown element: profile in
│ /ios:native/ios:interface/ios:Tunnel[ios:name='20']/ios-tun:tunnel/ios-tun:protection/ios-crypto:ipsec/ios-crypto:profile ErrorInfo:}]} {PatchId:
│ GlobalStatus:{Ok:false Errors:{Error:[]}} EditStatus:{Edit:[]} Errors:{Error:[]}}
Also doesn't exist element lifetime in iosxe_crypto_ikev2_profile
Which version of XE are you using? Have you been able to configure the corresponding CLI commands manually?