Terraform execution on CloudDevice Group
manusabu11 opened this issue · 3 comments
The execution with cloud device group isn't idempotent as each time external id is changing.
The first run on code was successful but the consecutive will fail with the error
++++++++++++++
Error: unexpected: [PUT /device/groups/{id}][403] updateDeviceGroupById default &{ErrorCode:1403 ErrorDetail: ErrorMessage:The specified role is invalid. Please confirm that the role references the correct account and external IDs.}
++++++++++++
Any suggestion on how to overcome this?
In addition to the above, here the wait time will work on Linux and won't on windows. So in my suggestion, it is better to include time_sleep instead of null_resource
Okay, including lifecycle management for now as it is really annoying
Would like to know if any other workaround or solution is available.
Please make sure you are using the correct role "TF-Integration-Role" . Are you still facing this issue?