fortinetdev / terraform-provider-fortimanager

Mozilla Public License 2.0
11 stars 10 forks source link

Error -10147: No Write Permission When Deleting ObjectFmgVariable Resource #53

Closed Almujalled closed 4 months ago

Almujalled commented 4 months ago

Description

I'm encountering an issue when trying to delete fortimanager_object_fmg_variable resources using the Fortinet provider in my Terraform project. The error message I receive is err -10147: no write permission.

Expected Behavior

ObjectFmgVariable resources should be successfully deleted.

Actual Behavior

The deletion of ObjectFmgVariable resources fails with the error message err -10147: no write permission.

Error Message

Here's the error message I receive:

This error is repeated for each ObjectFmgVariable resource that Terraform tries to delete.

Note

The FmgVariable in question can be deleted from GUI

Environment

Any help resolving this issue would be greatly appreciated.

Almujalled commented 4 months ago

Must delete all references to the FMG variable before deleting it