Closed mschedrin closed 1 year ago
Hi @mschedrin new terraform-provider-dnacenter v1.1.23-beta is out, please try with this new version, tell us if works for you and comment or close the problem as needed.
@bvargasre thanks for fixing it. Will I be able to see token expiration in terraform debug log or is reauthentication handled in SDK and "invisible" for the provider? I am not sure how long it takes authentication token to expire and therefore can not define successful test scenario. Do you have any information regarding expiration timer?
@mschedrin The token expiration is 60 minutes, as documented in the API docs.
Thanks @zapodeanu, @bvargasre. I have ran a terraform apply job that went on for 75 minutes and can confirm that reauthentication works.
Prerequisites
Describe the bug If terraform apply takes significant time authentication token expires and provider crashes. Take a look in the logs. dnac.token_expired.sanitized.log
Expected behavior Provider should renew token when it expires.
Environment (please complete the following information):