Closed edudppaz closed 1 year ago
@edudppaz problem is in our documentation, all response params are into a payload
parameter. I have been fixing it. I will have you updated.
@edudppaz problem is in our documentation, all response params are into a
payload
parameter. I have been fixing it. I will have you updated.
Hi @fmunozmiranda , could you then inform me how to access the data? This is blocking other modules that read border data to provision other parts of the network.
@edudppaz currently due documentation bug, data is not mapped, tommorow a new version with this fix will be released.
@edudppaz currently due documentation bug, data is not mapped, tommorow a new version with this fix will be released.
@fmunozmiranda oh, i thought you meant documentation as in docs / readme. Thanks! We will then test when the new version comes out.
Hi @edudppaz , new version (v1.1.24-beta) was released, please try it again.
@fmunozmiranda this is working OK now, the data from the border is now present on the state file. Thanks!!
Prerequisites
Describe the bug The read operations on the resource ´dnacenter_sda_fabric_border_device´ are not working. After doing changes with the resource, there is no data coming back from DNA Center being saved into the state file. When using the "data" type of the resource, the data being saved in terraform state is empty.
Tested via API directly towards DNA Center, the data is returned with no issue.
The terraform logs, show the DNA Center correctly sending the data back, however, this data is not being saved into the state, neither on the resource type, nor the data type:
TF logs DNAC response:
Data being saved:
Expected behavior Creation of the resource also saves data returned from payload into state file. Data operations read data from API.
Screenshots
Environment (please complete the following information): Cisco DNA Center version and patch: 2.3.5.4 - 70852 Terraform version: 1.5.6 Cisco DNA Center provider version: 1.1.22-beta OS Version: Ubuntu
Additional context Add any other context about the problem here.