Closed mschedrin closed 1 year ago
Hey @mschedrin, could you please pass me your tf_file? I test it and I don't get that error.
To reproduce the issue you need specific configuration on DNAC so that it replies following on request GET /dna/intent/api/v1/business/sda/authentication-profile?authenticateTemplateName=Closed+Authentication&siteNameHierarchy=Global%2FNorway%2FNW02 HTTP/1.1:
{
"status": "failed",
"description": "Could not find fabric site for given siteNameHierarchy in request.",
"executionId": "4ec60ae7-77e2-4348-adb4-9fffdaaf45b9"
}
Take look on lines 1874 - 1914 in terraform debug log attached to the issue. Reply from DNAC should be handled correctly and resource must be updated.
Could you please, pass that part of your tf_file, or could you explain to me what you are trying to do? Are you trying to change the siteNameHierchachy on an already executed resource? @mschedrin
I cannot reproduce this issue any more, sorry.
Prerequisites
Describe the bug When terraform refreshes state during terraform plan or apply, resource dnacenter_sda_fabric_authentication_profile throws an error. Here is cropped output:
Here is terraform debug log: tf.txt
Expected behavior No error is expected to be thrown.
Screenshots
Environment (please complete the following information):