Closed artur-tekieli closed 2 years ago
@artur-tekieli version 1.0.3-beta was published with a possible solution to your problem, please verify it's now working for you and let us know how it went.
@fmunozmiranda, I still see an error although its different:
The device is provisioned and assigned to site:
@fmunozmiranda - still failing
@artur-tekieli could you export this env variable or include debug in provider configuration and show me all answer you have please?
TF_LOG=DEBUG
provider "dnacenter" {
debug = "true"
}
@fmunozmiranda here it is. tf_debug.txt
@artur-tekieli sorry for the delay, we had some problems when publishing, there is a new version in which your problem should be solved, check that the version you are using is 1.0.5-beta, also look at the example: https ://github.com/cisco-en-programmability/terraform-provider-dnacenter/blob/main/examples/resources/dnacenter_sda_fabric_border_device/resource.tf
, if the change does not work for you it would be very important for us that you pass us your file test(tf file) along with the full response with DEBUG enabled.
Note: Thanks for reporting, it helps us a lot.
@fmunozmiranda - I can confirm in my test that it works. Thanks.
Prerequisites
Describe the bug (dnacenter_sda_fabric_border_device) Resource fails to Add border device in SDA Fabric
Expected behavior API call should succeed and device should be configured as Border, Control Plane and Edge. If all three roles are included.
Screenshots when '[' and ']' are used with "virtualNetwork": the API fails:
terraform also includes '[' and ']' - so it fails.
However without '[' and ']' it works:
Environment (please complete the following information):
Additional context It seems that's how this API is also documented on DNAC: