-
Notifications
You must be signed in to change notification settings - Fork 24
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
iosxe_route_map / match_source_protocol_bgp behaviour #56
Comments
I think removing "match_source_protocol_bgp" fails, because you end up with an incomplete route map. I guess you need at least on "match" statement. I will look into why the list modification does not remove the 65001 entry. |
This should fix the first issue: 1ac6d2a |
We actually started out with multiple match statements. We removed them for simplicity :-) |
Ok, but if you configure the route-map via CLI, does it allow you to configure a route-map without any match statements? |
Fixed in v0.5.0 release. |
I confirm that it is fixed in 0.5.0. It looks like the removing of the terraform config
terraform output
running config
remove string from tf code
terraform output
running config
|
Thank you! |
Dear,
We have an issue regarding the iosxe_route_map / match_source_protocol_bgp behaviour statement.
Changes and Deletions do not seem to be handled properly.
Can you please look at this?
IOSXE TF Provider version: self-compiled 0.4.1 unreleased (date Tue Sept 19 2023)
IOS version: Cisco IOS XE Software, Version 17.11.01a
Below is a step-by-step example on howto reproduce and some debug information.
start clean
resource source config for creation
Terraform apply output for creation (works fine)
running config after creation (looks ok)
resource source config modification #1: replace 65001 with 65002
Terraform apply output suggests correct behaviour
running config after modifcation is unexpected: 65002 has been added instead of replaced
running config / partial JSON after modifcation: 65002 has been added instead of replaced
resource source config modification #2: remove the complete statement
Terraform apply output suggests correct behaviour ... and fails
running config after failed attempt
The text was updated successfully, but these errors were encountered: